mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Declare ready on becoming leader
Provide for leader scenario to correctly flag configmanager as ready.
This commit is contained in:
parent
f2f25fe912
commit
94b8559777
@ -716,6 +716,7 @@ def become_leader(connection):
|
||||
if reassimilate is not None:
|
||||
reassimilate.kill()
|
||||
reassimilate = eventlet.spawn(reassimilate_missing)
|
||||
cfm._ready = True
|
||||
if _assimilate_missing(skipaddr):
|
||||
schedule_rebalance()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user