EdColeman commented on a change in pull request #1958:
URL: https://github.com/apache/accumulo/pull/1958#discussion_r588443558
##########
File path:
core/src/main/java/org/apache/accumulo/fate/zookeeper/ZooQueueLock.java
##########
@@ -32,7 +33,7 @@
public class ZooQueueLock implements QueueLock {
- private static final String PREFIX = "lock-";
+ private static final String PREFIX = "zlock#" + UUID.randomUUID() + "#";
Review comment:
If it is required that this PREFIX here and the ZLOCK_PREFIX in ZooLock
match, then maybe the definition should be placed in Constants and shared.
(Not saying that the should be the same, that's a different discussion)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]