2
0
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:
Jarrod Johnson 2023-09-15 15:28:16 -04:00
parent f2f25fe912
commit 94b8559777

View File

@ -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()