Manno15 commented on a change in pull request #1958:
URL: https://github.com/apache/accumulo/pull/1958#discussion_r588447963
##########
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:
I think the parts that have to match is the "zlock#" and then also end
in a "#". The first part could definitely be placed in Constants.
I guess the issue is the `CreateTable` command uses `ZooQueueLock` for
creation and the `FateCommand` uses `ZooLock` for validation.
----------------------------------------------------------------
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]