redo-log: "(resumed)" lines didn't print as often as they should.

If we print a line indicating that we've started building a subprogram,
then that's an "interruption" of the detailed output of the current
program; we need to "resume" the current program's logs before printing
any new detailed information that comes through.
This commit is contained in:
Avery Pennarun 2019-05-13 22:58:42 +00:00
commit 5684142f11

View file

@ -190,9 +190,11 @@ def catlog(t):
if opt.debug_locks:
logs.meta(kind, relname, pid=pid)
logs.write(line.rstrip())
interrupted += 1
lines_written += 1
elif fixname not in already:
logs.meta('do', relname, pid=pid)
interrupted += 1
lines_written += 1
if opt.recursive:
assert text