Skip to content

rts/eventlog: Fix erroneous marker on restarting logging

Ben Gamari requested to merge wip/T19078 into master

Previously calling endEventLogging() followed by startEventLogging() would produce an invalid eventlog due to an erroneous block markers left over in the header used to push the headers.

Here we fix this by clarifying the invariants surrounding the eventlog buffers and ensuring that the buffers are cleared when we finish logging.

Fixes #19078 (closed).

Merge request reports