[infinispan-issues] [JBoss JIRA] (ISPN-5295) Remote cache entries with sub-second lifetime never expire
Dan Berindei (JIRA)
issues at jboss.org
Mon Mar 16 19:06:18 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-5295:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Ion Savin
Fix Version/s: 7.2.0.Beta1
Resolution: Done
> Remote cache entries with sub-second lifetime never expire
> ----------------------------------------------------------
>
> Key: ISPN-5295
> URL: https://issues.jboss.org/browse/ISPN-5295
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 7.2.0.Alpha1
> Reporter: Ion Savin
> Assignee: Ion Savin
> Fix For: 7.2.0.Beta1
>
>
> remoteCache.put("key", "value", 999, TimeUnit.MILLISECOND)
> Expected: the entry expires after 999 millis
> Actual: the entry never expires
> HotRod lifespan is specified with second granularity but during conversion the subsecond part is truncated:
> remoteCache.put("key", "value", 1999, TimeUnit.MILLISECOND)
> Expected: after 1998 millis the entry is still present
> Actual: after 1000 millis the entry is expired
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list