the recent refactor introduced a bug when running with catchup disabled; we never set the catchup_complete event, so the main iterator waits on it forever.
This just sets the flag in the catchup thread if catchup is disabled, and makes sure we don't clear it again during a retry.
the recent refactor introduced a bug when running with catchup disabled; we never set the
catchup_complete
event, so the main iterator waits on it forever.This just sets the flag in the catchup thread if catchup is disabled, and makes sure we don't clear it again during a retry.