mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Also clear cfgleader when actually becoming leader
This commit is contained in:
parent
f065fafd61
commit
03adec089d
@ -212,6 +212,7 @@ def handle_connection(connection, cert, request, local=False):
|
||||
connection.sendall(cfgdata)
|
||||
#tlvdata.send(connection, {'tenants': 0}) # skip the tenants for now,
|
||||
# so far unused anyway
|
||||
cfm.cfgleader = None
|
||||
cfm.relay_slaved_requests(drone, connection)
|
||||
# ok, we have a connecting member whose certificate checks out
|
||||
# He needs to bootstrap his configuration and subscribe it to updates
|
||||
|
Loading…
Reference in New Issue
Block a user