EdColeman commented on a change in pull request #1958:
URL: https://github.com/apache/accumulo/pull/1958#discussion_r588446163
##########
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:
In general I think we should look for another solution - if something is
named like a zoo lock, then it should be managed by ZooLock - if it is not a
zoo lock, then it should be clear that its usage / management in zookeeper is
handled by code other than ZooLock.
----------------------------------------------------------------
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]