From 03adec089d4a0cb02f76af29994295470822425f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 22 Jun 2018 15:26:08 -0400 Subject: [PATCH] Also clear cfgleader when actually becoming leader --- confluent_server/confluent/collective/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/collective/manager.py b/confluent_server/confluent/collective/manager.py index 6882ea18..dcddeeff 100644 --- a/confluent_server/confluent/collective/manager.py +++ b/confluent_server/confluent/collective/manager.py @@ -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