2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-16 12:47:50 +00:00

Fix load of txcount

Mistake caused txcount not to restore from disk.
This commit is contained in:
Jarrod Johnson 2018-05-14 16:25:27 -04:00
parent 4f73ddc41e
commit 08dcab4c72

View File

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