Skip to content
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

PBM-1482: Selective Restore hangs on oplog replay and doesn't finish #1108

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

boris-ilijic
Copy link
Member

@boris-ilijic boris-ilijic commented Mar 18, 2025

PR for https://perconadev.atlassian.net/browse/PBM-1482

PR fixes two issues:

  • When dealing with selective restore and processing config db related collections, backup files were not closed, which implies possible resource leaks and deadlock in case when S3 compatible storage is used (while using io.Pipe).
  • When processing config.chunks database, not all documents were processed, only the first batch of documents was processed.

For bigger files, config.chunks are just partially applied during the
selective restore. This fix applies to the whole config.chunks
collection's docs from the backup file.
@boris-ilijic boris-ilijic marked this pull request as ready for review March 24, 2025 11:49
@boris-ilijic boris-ilijic requested a review from veceraj as a code owner March 24, 2025 11:49
@boris-ilijic boris-ilijic merged commit c270122 into dev Mar 25, 2025
23 checks passed
@boris-ilijic boris-ilijic deleted the PBM-1482-fix-config-srv-files-download branch March 25, 2025 08:54
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.

2 participants