npawar commented on issue #3604: Add ControllerLeadershipManager as single 
place to check controller leadership changes
URL: https://github.com/apache/incubator-pinot/pull/3604#issuecomment-447171842
 
 
   Agree that the subscribers should not really know "leader" or "not leader", 
eventually, when we get to a distributed load model. As of now, the periodic 
tasks do check for leader before executing, and this is one way to get them to 
start/stop on leadership changes.
   Even in the distributed model, the periodic tasks would have to start/stop 
and switch between the controller responsible for it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to