[infinispan-issues] [JBoss JIRA] (ISPN-3541) Purge is not working for file-store
Jakub Markos (JIRA)
jira-events at lists.jboss.org
Mon Sep 23 12:06:45 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806629#comment-12806629 ]
Jakub Markos commented on ISPN-3541:
------------------------------------
JDG 6.2.0.ER1 (Infinispan version: Infinispan 'Infinium' 6.0.0.Beta1-redhat-1)
> 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
More information about the infinispan-issues
mailing list