kfaraz commented on code in PR #16528:
URL: https://github.com/apache/druid/pull/16528#discussion_r1623133040
##########
server/src/main/java/org/apache/druid/curator/discovery/CuratorDruidLeaderSelector.java:
##########
@@ -65,11 +63,10 @@ public CuratorDruidLeaderSelector(CuratorFramework curator,
@Self DruidNode self
this.curator = curator;
this.self = self;
this.latchPath = latchPath;
-
- // Creating a LeaderLatch here allows us to query for the current leader.
We will not be considered for leadership
- // election until LeaderLatch.start() is called in registerListener().
This allows clients to observe the current
- // leader without being involved in the election.
Review Comment:
Why has this comment been removed?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]