ddanielr commented on code in PR #6166:
URL: https://github.com/apache/accumulo/pull/6166#discussion_r2884972990


##########
server/base/src/main/java/org/apache/accumulo/server/util/Admin.java:
##########
@@ -600,7 +601,8 @@ private static void stopServers(final ServerContext 
context, List<String> server
         String managerLockPath = Constants.ZROOT + "/" + iid + 
Constants.ZMANAGER_LOCK;
         ZooZap.removeSingletonLock(zk, managerLockPath, hostAndPort::contains, 
opts);
         String gcLockPath = Constants.ZROOT + "/" + iid + Constants.ZGC_LOCK;
-        ZooZap.removeSingletonLock(zk, gcLockPath, hostAndPort::contains, 
opts);
+        ServiceLock.deleteLock(zk, gcLockPath, 
ServerServices.Service.GC_CLIENT,

Review Comment:
   Yes, I thought we had efforts to print things back to the Admin logger 
instead of directly sending things out to stdout. 
   
   If we want to keep the same behavior I can just pass in 
`System.out::println` instead of `log::debug`



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

To unsubscribe, e-mail: [email protected]

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

Reply via email to