[infinispan-issues] [JBoss JIRA] (ISPN-5863) Expiration does not work correct in C/S mode for a cache if putIfAbsent(K, V) is used
Wolf-Dieter Fink (JIRA)
issues at jboss.org
Thu Oct 15 12:43:00 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wolf-Dieter Fink updated ISPN-5863:
-----------------------------------
Summary: Expiration does not work correct in C/S mode for a cache if putIfAbsent(K,V) is used (was: Expiration configuration in C/S mode for a cache does not work)
> Expiration does not work correct in C/S mode for a cache if putIfAbsent(K,V) is used
> ------------------------------------------------------------------------------------
>
> Key: ISPN-5863
> URL: https://issues.jboss.org/browse/ISPN-5863
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.1.0.Alpha1
> Reporter: Wolf-Dieter Fink
> Priority: Critical
>
> If the ISPN server cache is configured with expiration like:
> <cache-container name="local" default-cache="default" statistics="true">
> <state-persistence/>
> <local-cache name="default" start="EAGER">
> <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>
> <transaction mode="NONE"/>
> <expiration lifespan="1000" interval="20000"/>
> </local-cache>
> The entry should automatic expired in 1second after it is added.
> But a client still have the key
> - after 1 sec where it should have been expired
> - after 20 sec where the reaper should have removed it
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list