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

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


The following commit(s) were added to refs/heads/main by this push:
     new cac85af907 Fixes compile error and breaking change to lock checking 
(#5287)
cac85af907 is described below

commit cac85af907a4e44d59bf87500b2819c71cf9c779
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Mon Jan 27 14:45:53 2025 -0500

    Fixes compile error and breaking change to lock checking (#5287)
---
 .../main/java/org/apache/accumulo/core/clientImpl/ClientContext.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/clientImpl/ClientContext.java 
b/core/src/main/java/org/apache/accumulo/core/clientImpl/ClientContext.java
index cea8150cd3..34871de647 100644
--- a/core/src/main/java/org/apache/accumulo/core/clientImpl/ClientContext.java
+++ b/core/src/main/java/org/apache/accumulo/core/clientImpl/ClientContext.java
@@ -1063,8 +1063,7 @@ public class ClientContext implements AccumuloClient {
       // because that client could be closed, and its ZooSession also closed
       // this needs to be fixed; TODO 
https://github.com/apache/accumulo/issues/2301
       var zk = 
info.getZooKeeperSupplier(ZookeeperLockChecker.class.getSimpleName(), "").get();
-      this.zkLockChecker =
-          new ZookeeperLockChecker(new ZooCache(zk), getZooKeeperRoot() + 
Constants.ZTSERVERS);
+      this.zkLockChecker = new ZookeeperLockChecker(new ZooCache(zk), 
getZooKeeperRoot());
     }
     return this.zkLockChecker;
   }

Reply via email to