mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-16 04:39:16 +00:00
Fix load of txcount
Mistake caused txcount not to restore from disk.
This commit is contained in:
parent
4f73ddc41e
commit
08dcab4c72
@ -1668,7 +1668,7 @@ class ConfigManager(object):
|
||||
_cfgstore = {}
|
||||
rootpath = cls._cfgdir
|
||||
try:
|
||||
with open(os.path.join(rootpath, 'transactioncount', 'r')) as f:
|
||||
with open(os.path.join(rootpath, 'transactioncount'), 'r') as f:
|
||||
_txcount = struct.unpack('!Q', f.read())[0]
|
||||
except IOError:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user