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

Memcached cas should not rely on System.currentTimeMillis

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            gzamarre Galder ZamarreƱo
            gzamarre Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: