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

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Mar 18 09:26:38 EDT 2010


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