Skip to content

Commit

Permalink
Merge branch '2.1' into 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmarion committed Jan 6, 2025
2 parents 81c7f3d + ae85003 commit 0553feb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ private void getZooLock(HostAndPort addr) throws KeeperException, InterruptedExc

UUID zooLockUUID = UUID.randomUUID();
gcLock = new ServiceLock(getContext().getZooReaderWriter().getZooKeeper(), path, zooLockUUID);
HAServiceLockWatcher gcLockWatcher = new HAServiceLockWatcher("gc");

while (true) {
HAServiceLockWatcher gcLockWatcher = new HAServiceLockWatcher("gc");
gcLock.lock(gcLockWatcher,
new ServiceLockData(zooLockUUID, addr.toString(), ThriftService.GC));

Expand Down

0 comments on commit 0553feb

Please sign in to comment.