Skip to content

Commit

Permalink
ARTEMIS-2716 add ZK locks path
Browse files Browse the repository at this point in the history
  • Loading branch information
franz1981 committed Jun 28, 2021
1 parent ed32cce commit b1b45ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public synchronized DistributedLock getDistributedLock(String lockId) {
assert alwaysTrue;
}
};
final CuratorDistributedLock newLock = new CuratorDistributedLock(this, lockId, new InterProcessSemaphoreV2(client, "/" + lockId, 1), onCloseLock);
final CuratorDistributedLock newLock = new CuratorDistributedLock(this, lockId, new InterProcessSemaphoreV2(client, "/locks/" + lockId, 1), onCloseLock);
locks.put(lockId, newLock);
if (unavailable) {
handlingEvents = true;
Expand Down

0 comments on commit b1b45ac

Please sign in to comment.