From 3012de1fe4c3d281ea6efdca1164a7f5f60a363b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Oct 2018 09:16:57 -0400 Subject: [PATCH] Prioritize deletion of transactioncount If the invalidation is incomplete, make sure that transactioncount is invalidated first to avoid it being able to propogate through a collective. --- confluent_server/confluent/config/configmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/config/configmanager.py b/confluent_server/confluent/config/configmanager.py index b5fa19bb..4fcc0b71 100644 --- a/confluent_server/confluent/config/configmanager.py +++ b/confluent_server/confluent/config/configmanager.py @@ -647,7 +647,7 @@ def commit_clear(): _oldcfgstore = None _oldtxcount = 0 with _synclock: - todelete = _config_areas + ('globals', 'collective', 'transactioncount') + todelete = ('transactioncount', 'globals', 'collective') + _config_areas for cfg in todelete: try: os.remove(os.path.join(ConfigManager._cfgdir, cfg))