[infinispan-issues] [JBoss JIRA] (ISPN-5298) HotRod millisecond precision for lifespan/maxidle

Dan Berindei (JIRA) issues at jboss.org
Tue Mar 17 05:13:19 EDT 2015


    [ https://issues.jboss.org/browse/ISPN-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050808#comment-13050808 ] 

Dan Berindei commented on ISPN-5298:
------------------------------------

You can satisfy that condition by adding rounding down to the second and adding a special value (let's say 0xFFFFFFFF) to signal that the entry should expire immediately.

The way I see it, in order to say we provide millisecond precision, we would have to ensure that the entry expires within a millisecond interval on all the nodes. But it's quite common for the timestamp of the entry on the backup owner to be 1 ms or more older than the timestamp of the entry on the primary owner, so we can't provide that.


> HotRod millisecond precision for lifespan/maxidle
> -------------------------------------------------
>
>                 Key: ISPN-5298
>                 URL: https://issues.jboss.org/browse/ISPN-5298
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Remote Protocols
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Ion Savin
>
> Currently lifespan/maxidle precision is SECONDS.
> JSR-107 requires MILLISECONDS precision.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list