2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-16 04:39:16 +00:00

Update the discovery lookup tables on node add/remove

This will mitigate stale mappings in the discovery process.
This commit is contained in:
Jarrod Johnson 2018-04-12 17:05:06 -04:00
parent 008f8e22ae
commit af72d0e71a

View File

@ -1078,6 +1078,7 @@ def newnodes(added, deleting, configmanager):
global attribwatcher
global needaddhandled
global nodeaddhandler
_map_unique_ids()
configmanager.remove_watcher(attribwatcher)
allnodes = configmanager.list_nodes()
attribwatcher = configmanager.watch_attributes(