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

Memcached cas should not rely on System.currentTimeMillis

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: