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

Pessimistic transactions can lose their locks when the primary owner changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 13.0.0.Dev04
    • 7.0.2.Final, 7.1.0.Alpha1
    • Core, State Transfer
    • None

      In a pessimistic cache, if a transaction T1 has a put(k, v) operation and the primary owner of the key is the originator, the lock is acquired on the originator but it is not replicated to on the backup(s).

      If one of the backup owners becomes the primary owner, it will allow another transaction T2 to lock (and update) key k before it receives the one-phase prepare command from the originator of T1.

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

              Created:
              Updated:
              Resolved: