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

ddanielr pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new ab1a7c59c7 Adds logging message when removing watchers (#6047)
ab1a7c59c7 is described below

commit ab1a7c59c7adb9481f164be9b0962f6e9fd63574
Author: Daniel Roberts <[email protected]>
AuthorDate: Thu Jan 8 22:07:18 2026 -0500

    Adds logging message when removing watchers (#6047)
---
 .../main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java 
b/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java
index c6478baff3..42eedec758 100644
--- 
a/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java
+++ 
b/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java
@@ -483,6 +483,8 @@ public class ServiceLock implements Watcher {
                   // if stat is null from the zookeeper.exists(path, Watcher) 
call, then we just
                   // created a Watcher on a node that does not exist. Delete 
the watcher we just
                   // created.
+                  LOG.debug("Removing watcher for path {} since stat return 
was null",
+                      pathForWatcher);
                   zooKeeper.removeWatches(pathForWatcher, this, 
WatcherType.Any, true);
 
                   if (lockNodeName != null) {

Reply via email to