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

Invalidation mode caches with pessimistic transactions results in stale remote locks


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • 5.2.0.Final
    • Transactions
    • None

      An invalidation mode cluster with two nodes A and B. Node A is coordinator.
      Putting a key on node B results in a remote lock being acquired on A. But the lock on A is not released when the TX commits. Subsequent attempts to lock the key on A will fail with TimeoutException.

      The key aspects to reproduce this are:
      1. pessimistic locking
      2. the transaction starts on a node different than the coordinator

      This scenario does not involve any state transfer, so it should not be related to the already known issues with stale locks caused by state-transfer.

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            0 Vote for this issue
            1 Start watching this issue