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:
parent
008f8e22ae
commit
af72d0e71a
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user