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

Pessimistic Force Write Lock doesn't acquire remote lock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Beta2
    • 5.3.0.Final
    • Core, Transactions
    • None

    Description

      Looking into FORCE_WRITE_LOCK it appears it only acquires a local lock in PessimisticLockingInterceptor. Thinking about this, it seems this should acquire only a remote lock on the primary node. Currently this isn't going to block writes at all. I am guessing this was just an oversight when redoing the locking mechanism.

      This causes other issues such as L1 inconsistencies which is how I ran into this and the locking should only occur on the remote node.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: