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

ClusterExpirationManager missing locking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.2.0.Beta2, 8.2.0.Final
    • 8.1.0.Final
    • Core
    • None

    Description

      Because ClusterExpirationManager.handleLifespanExpired() doesn't lock the entry and the value is actually read in the async thread, the created RemoveExpiredCommand sometimes uses a newer value written by another thread.

      Could be fixed by using DataContainer.compute() to check expiration and create the RemoveExpirationCommand.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: