Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 3.2.8.GA
    • Fix Version/s: None
    • Component/s: Locking
    • Labels:
      None

      Description

      IdentityLock#releaseAll(Object owner) is recursive.
      IdentityLock#releaseAll() is not recursive.

      The only caller of these, NodeBasedLockManager expects these to be the same (recursive) except for the owner argument.
      The result is that NodeBasedLockManager#unlockAll(NodeSPI) does not function correctly (recursively).
      The similar NodeBasedLockManager#unlockAll(NodeSPI, Object owner) does work correctly.

      The only caller of NodeBasedLockManager#unlockAll(NodeSPI) is LegacyRegionManagerImpl#inactivateRegion.
      It appears it should be using NodeBasedLockManager#unlockAll(NodeSPI, Object owner) instead (see JBCACHE-1607).

      Since this is the only caller of this method, this bug is considered minor.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dereed Dennis Reed
                  Reporter:
                  dereed Dennis Reed
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: