[infinispan-issues] [JBoss JIRA] (ISPN-3541) Common store attributes(e.g. purge) are ignored for non-generic stores (file-store, remote etc)
Tristan Tarrant (JIRA)
jira-events at lists.jboss.org
Fri Sep 27 08:06:02 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-3541:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Common store attributes(e.g. purge) are ignored for non-generic stores (file-store, remote etc)
> ------------------------------------------------------------------------------------------------
>
> Key: ISPN-3541
> URL: https://issues.jboss.org/browse/ISPN-3541
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 6.0.0.Beta1
> Reporter: Jakub Markos
> Assignee: Mircea Markus
> Fix For: 6.0.0.Beta2
>
>
> 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