EdColeman commented on a change in pull request #1896:
URL: https://github.com/apache/accumulo/pull/1896#discussion_r568103198



##########
File path: core/src/main/java/org/apache/accumulo/fate/zookeeper/ZooLock.java
##########
@@ -519,7 +552,7 @@ public synchronized boolean tryToCancelAsyncLockOrUnlock()
       String pathToDelete = path + "/" + createdNodeName;
       LOG.debug("[{}] Deleting all at path {} due to lock cancellation", 
vmLockPrefix,
           pathToDelete);
-      zooKeeper.recursiveDelete(pathToDelete, NodeMissingPolicy.SKIP);
+      recursiveDelete(pathToDelete, NodeMissingPolicy.SKIP);

Review comment:
       See other comment regarding  `ZKUtil.deleteRecursive(zooKeeper, 
pathToDelete)`




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to