Skip to content

PBM-1488 PITR will stop saving the oplog if the process of copying the oplog from the backup fails #1163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

veceraj
Copy link
Collaborator

@veceraj veceraj commented Jul 7, 2025

PBM-1488 Powered by Pull Request Badge

Catchup used to return early when copyReplsetOplog hit an error, so it never set s.lastTS. Stream then died with “no starting point defined,” stopping PITR.

This fix removes said early return: Catchup now always sets s.lastTS = rs.LastWriteTS

@veceraj veceraj marked this pull request as ready for review July 9, 2025 09:26
@veceraj veceraj requested a review from boris-ilijic as a code owner July 9, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant