Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-2182

Entry replaced with same expiration can expire immediately

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JDG 7.2.1 GA
    • Fix Version/s: JDG 7.2.4 GA, JDG 7.3 GA
    • Component/s: None
    • Labels:
      None
    • Target Release:
    • Sprint:
      JDG Sprint #20

      Description

      Currently lifespan expiration removes an expired entry based on the key value and lifespan parameter matching. Unfortunately this still leaves it open to removing an entry that was just inserted if it was expired and it was replaced with the same value.

      This is especially problematic with `RemoteCache.putIfAbsent` or other conditional operations as they perform a get before doing the actual operation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              william.burns Will Burns
              Reporter:
              wdfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: