2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Also clear cfgleader when actually becoming leader

This commit is contained in:
Jarrod Johnson 2018-06-22 15:26:08 -04:00
parent f065fafd61
commit 03adec089d

View File

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