[
https://issues.jboss.org/browse/ISPN-3541?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-3541:
-------------------------------------
what version are you using?
Purge is not working for file-store
-----------------------------------
Key: ISPN-3541
URL:
https://issues.jboss.org/browse/ISPN-3541
Project: Infinispan
Issue Type: Bug
Reporter: Jakub Markos
Assignee: Mircea Markus
When using this configuration (notice the purge=true)
{code:xml}
<local-cache name="default" start="EAGER"
batching="false">
<file-store name="hello"
passivation="true"
relative-to="temp"
path="${cachestore.name}"
purge="true"/>
</local-cache>
{code}
and running this test
{code}
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));
}
{code}
the entries can be read even after server restart:
{quote}
k0: 0 // expecting null here
k1: 1 // expecting null here
k2: 2 // expecting null here
{quote}
Worked fine with DR4, not with ER1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira