ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <krosenv...@apache.org>
Subject Re: How to call loadCache before node is started ?
Date Tue, 21 Jun 2016 07:28:43 GMT
2016-06-20 10:27 GMT+02:00 Alexei Scherbakov <alexey.scherbakoff@gmail.com>:
> Hi,
> You should not rely on cache.size method for checking data consistency.
> cache.size skips keys which is not currently loaded by read-through
> behavior.

Sorry for not mentioning that this is CacheMode.REPLICATED and
CacheRebalanceMode.SYNC. I really do expect the sizes to be fairly
consistent, or is there some other mechanism I should be using to get
a consistent view of the cache ?


View raw message