mirror of https://github.com/apache/druid.git
6a9c050095
* DruidOverlord: Move becomeLeader/stopBeingLeader earlier. On becoming leader, it is helpful for the TaskRunner and TaskQueue to be available when the SupervisorManager starts up, to aid the supervisors in discovering their tasks. On stopping leadership, it is helpful for the TaskRunner and TaskQueue to be available until the SupervisorManager has finished shutting down. They are only available when the TaskMaster is in "leader" mode, so to achieve the above, this patch moves it earlier in the sequence. * Adjust leadership into two phases. * Update test. * Adjustments for coverage. * Stop mirrors start better. |
||
---|---|---|
.. | ||
src | ||
pom.xml |