2016-06-20 10:27 GMT+02:00 Alexei Scherbakov <alexey.scherbak...@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 ? Kristian