Skip to content

Commit 64a1921

Browse files
authored
HBASE-29570 Set no watches on the node when recursively deleting the node and its child nodes (#7271)
Signed-off-by: Duo Zhang <[email protected]>
1 parent 8808e38 commit 64a1921

File tree

1 file changed

+1
-1
lines changed
  • hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper

1 file changed

+1
-1
lines changed

hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ public static void deleteNodeRecursivelyMultiOrSequential(ZKWatcher zkw,
966966
ops.add(ZKUtilOp.deleteNodeFailSilent(children.get(i)));
967967
}
968968
try {
969-
if (zkw.getRecoverableZooKeeper().exists(eachRoot, zkw) != null) {
969+
if (zkw.getRecoverableZooKeeper().exists(eachRoot, null) != null) {
970970
ops.add(ZKUtilOp.deleteNodeFailSilent(eachRoot));
971971
}
972972
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)