2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-27 03:49:57 +00:00

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.
This commit is contained in:
Jarrod Johnson 2018-10-11 09:16:57 -04:00
parent be930fc076
commit 3012de1fe4

View File

@ -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))