dlmarion commented on code in PR #4861:
URL: https://github.com/apache/accumulo/pull/4861#discussion_r1754326841
##########
core/src/main/java/org/apache/accumulo/core/lock/ServiceLock.java:
##########
@@ -653,7 +637,7 @@ public synchronized void process(WatchedEvent event) {
public static boolean isLockHeld(ZooCache zc, LockID lid) {
- var zLockPath = path(lid.path);
+ var zLockPath = ServiceLockPaths.parse(Optional.empty(), lid.path);
Review Comment:
I ran this down. The `lid.path` is the full path of the zookeeper node. When
the LockID is serialized into the Value of the LOCK_COLUMN in the metadata
table, the zookeeper root is removed from the front of the string. When the
LockID is deserialized from the Value, the zookeeper root is added back to the
front of the string. This isn't an issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]