mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 10:39:23 +00:00
Have a rebalance shortly after becoming leader
This will handle startup and takeover when the current leader dies.
This commit is contained in:
parent
086ce9823b
commit
5812a0eef6
@ -569,6 +569,7 @@ def become_leader(connection):
|
||||
if dronecandidate in skipem or member == myname:
|
||||
continue
|
||||
eventlet.spawn_n(try_assimilate, dronecandidate)
|
||||
schedule_rebalance()
|
||||
|
||||
|
||||
def startup():
|
||||
|
Loading…
x
Reference in New Issue
Block a user