mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Merge pull request #30 from jjohnson42/replayoldlog
Fix erroneous data injection to log replay
This commit is contained in:
commit
2115fb3f78
@ -633,6 +633,9 @@ class Logger(object):
|
||||
flock(binfile, LOCK_SH)
|
||||
binfile.seek(0, 2)
|
||||
binidx = binfile.tell()
|
||||
# things have been set up for next iteration to dig to
|
||||
# previous log file, go to next iteration
|
||||
continue
|
||||
elif ltype != 2:
|
||||
continue
|
||||
if tstamp > recenttimestamp:
|
||||
|
Loading…
x
Reference in New Issue
Block a user