You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2025/09/05 02:13:59 UTC

(hbase) branch branch-2.6 updated: HBASE-29570 Set no watches on the node when recursively deleting the node and its child nodes (#7271)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new a18ce11557d HBASE-29570 Set no watches on the node when recursively deleting the node and its child nodes (#7271)
a18ce11557d is described below

commit a18ce11557d85695c71186cf5f2e8ed6dd9e56ca
Author: Huginn <63...@users.noreply.github.com>
AuthorDate: Fri Sep 5 09:50:29 2025 +0800

    HBASE-29570 Set no watches on the node when recursively deleting the node and its child nodes (#7271)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 64a192197c313a43f008c692bbe935f347c77dba)
---
 .../src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java b/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
index 334c12b532f..8d22747b70f 100644
--- a/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
+++ b/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
@@ -966,7 +966,7 @@ public final class ZKUtil {
         ops.add(ZKUtilOp.deleteNodeFailSilent(children.get(i)));
       }
       try {
-        if (zkw.getRecoverableZooKeeper().exists(eachRoot, zkw) != null) {
+        if (zkw.getRecoverableZooKeeper().exists(eachRoot, null) != null) {
           ops.add(ZKUtilOp.deleteNodeFailSilent(eachRoot));
         }
       } catch (InterruptedException e) {