Details
-
Bug
-
Resolution: Done
-
Major
-
6.0.0.Beta1
-
None
-
None
Description
When using this configuration (notice the purge=true)
<local-cache name="default" start="EAGER" batching="false"> <file-store name="hello" passivation="true" relative-to="temp" path="${cachestore.name}" purge="true"/> </local-cache>
and running this test
for (int i = 0; i < 3; i++) { cache.put("k" + i, i); } controller.stop(CONTAINER); // stops the server controller.start(CONTAINER); for (int i = 0; i < 3; i++) { System.out.println("k" + i + ": " + cache.get("k" + i)); }
the entries can be read even after server restart:
k0: 0 // expecting null here
k1: 1 // expecting null here
k2: 2 // expecting null here
Worked fine with DR4, not with ER1.