EHC ❯ CacheStore fails to flush keys on authority on flush when CacheConfiguration isClearOnFlush
-
Bug
-
Status: Resolved
-
1 Critical
-
Resolution: Fixed
-
-
-
alexsnaps
-
Reporter: alexsnaps
-
March 04, 2013
-
0
-
Watchers: 2
-
June 06, 2013
-
April 26, 2013
Description
Since CachingTier.clear() doesn’t invoke the EvictionListeners, all entries faulted from the AuthoritativeTier won’t be flushed on Store.flush() if the CacheConfiguration is set to clearOnFlush…
The fix is probably to have the AuthoritativeTier flushAll() on Store.flush() when CacheConfiguration isClearOnFlush. Now, double checking on the semantic of this setting might be useful too…
r7434 on 2.7.x branch