[infinispan-issues] [JBoss JIRA] (ISPN-3298) Can't retrieve evicted entries from FileCacheStore

Jakub Markos (JIRA) jira-events at lists.jboss.org
Thu Jul 4 09:03:20 EDT 2013


Jakub Markos created ISPN-3298:
----------------------------------

             Summary: Can't retrieve evicted entries from FileCacheStore
                 Key: ISPN-3298
                 URL: https://issues.jboss.org/browse/ISPN-3298
             Project: Infinispan
          Issue Type: Feature Request
            Reporter: Jakub Markos
            Assignee: Mircea Markus


When using this configuration for the latest (6.0.0-SNAPSHOT) infinispan-server:
{code:xml}
<subsystem xmlns="urn:infinispan:server:core:5.3" default-cache-container="local">
            <cache-container name="local" default-cache="default">
                <local-cache name="default" start="EAGER">
                    <locking isolation="NONE" acquire-timeout="30000" concurrency-level="1000" striping="false"/>
                    <transaction mode="NONE"/>
                    <eviction strategy="LRU" max-entries="5"/>
                    <file-store passivation="true" path="dc" purge="true" shared="false"/>
                </local-cache>
            </cache-container>
        </subsystem>
{code}

and running this code:
{code}
for (int i = 0; i < 6; i++) {
    cache.put("k" + i, "v" + i);
}
for (int i = 0; i < 6; i++) {
    System.out.println("k" + i + ": " + cache.get("k" + i));
}
{code}

I'm getting (reproducibly):
{quote}
k0: null
k1: v1
k2: v2
k3: null
k4: v4
k5: v5
{quote}

The directory $\{server\}/standalone/data/dc/default/ contains 2 files (with v0 and v3).
Server trace log attached.

--
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