dlmarion commented on code in PR #6199:
URL: https://github.com/apache/accumulo/pull/6199#discussion_r2907353279
##########
core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java:
##########
@@ -360,7 +407,9 @@ public void process(WatchedEvent event) {
// created a Watcher on a node that does not exist. Delete the
watcher we just
// created.
zooKeeper.removeWatches(nodeToWatch, this, WatcherType.Any,
true);
- determineLockOwnership(createdEphemeralNode, lw);
+ if (createdNodeName != null) {
+ determineLockOwnership(lw);
+ }
Review Comment:
Implemented in 2a591cc
--
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]