Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-377

Memcached cas should not rely on System.currentTimeMillis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.ALPHA2
    • 4.1.0.ALPHA1
    • Remote Protocols
    • None

      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.

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: