EHC ❯ Pinning & Cache.getKeys is broken
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
alexsnaps
-
Reporter: alexsnaps
-
November 24, 2011
-
0
-
Watchers: 2
-
July 27, 2012
-
December 23, 2011
Description
FrontEndCacheTier always returns the authority’s keySet, but neglects that a higher tier might be pinned and might contain more keys than the authority. I expect DiskStore to also suffer from this when the cache is Pinned to localHeap or localMemory
Comments
Fiona OShea 2011-11-28
Alexander Snaps 2011-12-23
Fixed in trunk… or so I hope! Haven’t yet merged back to 2.5, I think we miss the proper branching for offheap-store. Trying to figure this out…
Alexander Snaps 2011-12-23
Fixed in trunk & ehcache-core-2.5 branches: offheap-store (trunk only): r14896 ehcache-offheap: r14897 & r14898 ehcache-core: r5099 & r5102
Please fix in trunk and 2.5.x