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

Possible inconsistency with concurrent transactions during state transfer

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

XMLWordPrintable

      It looks like there is a data race between the state transfer thread and a concurrent transaction in EntryWrappingInterceptor.commitEntryIfNeeded:

      tx: commitContextEntry()
      ST: stateConsumer.isKeyUpdated(k)? false
      tx: stateConsumer.addUpdatedKey(k)
      ST: commitContextEntry()

      We probably need some synchronization here, maybe using EquivalentConcurrentHashMapV8.computeIfAbsent().

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: