This is in addition to
2ed1c3e. Ensures that the we continue syncing logs
that have been fetched already and don't end up cloning more logs prematurely.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit
256f6b3a07505a5f67b6583e69f588cd1d408c6e)
*reset_backoff = false; // back off and try again later
return retcode;
}
+ truncated = true;
*reset_backoff = true; /* if we got to this point, all systems function */
if (mdlog_marker > max_marker) {
tn->set_flag(RGW_SNS_FLAG_ACTIVE); /* actually have entries to sync */