Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
-
None
Description
KeeperException.NoNodeException and NotEmptyException should be ignored when deleting a zLock or its parent in ZooKeeperHiveLockManager unlockPrimitive. The exceptions can happen:
1) ZooKeeperHiveLockManager retries deleting a zLock after a failure but it has been deleted.
2) a race condition where another process adds a zLock just before it is about to be deleted.
Otherwise, unlock may unnecessarily be retried for numRetriesForUnLock times.