[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-377) Memcached cas should not rely on System.currentTimeMillis

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Mar 29 13:28:37 EDT 2010


     [ https://jira.jboss.org/jira/browse/ISPN-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno resolved ISPN-377.
-----------------------------------

    Resolution: Done


Done and fixed it for Hot Rod too.

> Memcached cas should not rely on System.currentTimeMillis
> ---------------------------------------------------------
>
>                 Key: ISPN-377
>                 URL: https://jira.jboss.org/jira/browse/ISPN-377
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.1.0.ALPHA1
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.ALPHA2
>
>
> Change the way the cas or version of value is calculated to follow this pattern: 
> view-id (4), view-rank(4), atomic int(8)
> This avoids issues with System.currentTimeMillis which in systems like Windows, could be assigning the same value within a range of 50ms which is quite big.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list