mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 10:02:04 +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:
parent
be930fc076
commit
3012de1fe4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user