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

Fix persistence of group data on node deletion.

This commit is contained in:
Jarrod Johnson 2014-03-28 16:42:36 -04:00
parent f326a03d33
commit 9d8ff78716

View File

@ -572,6 +572,7 @@ class ConfigManager(object):
if group not in groups:
if node in self._cfgstore['groups'][group]['nodes']:
self._cfgstore['groups'][group]['nodes'].discard(node)
_mark_dirtykey('groups', group, self.tenant)
self._node_removed_from_group(node, group)
for group in groups:
if group not in self._cfgstore['groups']: