Re: Reloading of cache not working

2020-05-18 Thread Ilya Kasnacheev
Hello! Yes, as it was mentioned on the list, it is not going to replace already existing keys' values. Regards, -- Ilya Kasnacheev ср, 13 мая 2020 г. в 08:01, Akash Shinde : > Hi, > My question is specifically for clo.apply(key, data) that I invoked in > CacheStoreAdapter.loadCache >

Re: Reloading of cache not working

2020-05-12 Thread Akash Shinde
Hi, My question is specifically for clo.apply(key, data) that I invoked in CacheStoreAdapter.loadCache method. So, does this method (clo.apply) overrides value for the keys which are already present in cache or it just skips? My observation is that its not overriding value for the keys which are

Re: Reloading of cache not working

2020-05-12 Thread akorensh
Hi, 1) loadCache() is implementation dependent, by default it just adds new records to the cache . see example: https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheLoadOnlyStoreExample.java Take a look at jdbc example as well:

Reloading of cache not working

2020-05-12 Thread Akash Shinde
Hi, I am using ignite 2.6. I am trying refresh few caches which are already loaded during server startup using cache loaders. To refresh caches I am invoking IgniteCache.loadCache method. But it seems that it is not updating data in caches. 1) Is it the expected behavior? 2) Do I have to clear the