HBASE-25673 Wrong log regarding current active master at ZKLeaderManager#waitToBecomeLeader (#3057)
Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
This commit is contained in:
parent
d200a67264
commit
a698b1ea53
|
@ -127,7 +127,7 @@ public class ZKLeaderManager extends ZKListener {
|
||||||
ZKUtil.deleteNode(watcher, leaderZNode);
|
ZKUtil.deleteNode(watcher, leaderZNode);
|
||||||
leaderExists.set(false);
|
leaderExists.set(false);
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Found existing leader with ID: {}", Bytes.toStringBinary(nodeId));
|
LOG.info("Found existing leader with ID: {}", Bytes.toStringBinary(currentId));
|
||||||
leaderExists.set(true);
|
leaderExists.set(true);
|
||||||
}
|
}
|
||||||
} catch (KeeperException ke) {
|
} catch (KeeperException ke) {
|
||||||
|
|
Loading…
Reference in New Issue