-
Notifications
You must be signed in to change notification settings - Fork 22
PBM-1715 Parallel file processing for backups and restores #376
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
rasika-chivate
wants to merge
32
commits into
2.15.0
Choose a base branch
from
PBM-1715-Parallel-file-processing-for-backups-and-restores
base: 2.15.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
fa94e6b
PBM-1715 Parallel file processing for backups and restores
rasika-chivate e022790
Added restore flag
rasika-chivate b36ea88
Update backup-physical.md
rasika-chivate c39a56d
Update restore-physical.md
rasika-chivate 99db9e3
Potential fix for pull request finding
rasika-chivate c21aad3
Potential fix for pull request finding
rasika-chivate 7ae0a39
Potential fix for pull request finding
rasika-chivate aad2bf0
Potential fix for pull request finding
rasika-chivate 132ad22
Potential fix for pull request finding
rasika-chivate f6fbad7
Potential fix for pull request finding
rasika-chivate 4181d3c
Potential fix for pull request finding
rasika-chivate 4b3fe64
Potential fix for pull request finding
rasika-chivate 53ab1e1
Potential fix for pull request finding
rasika-chivate ffc30b4
Potential fix for pull request finding
rasika-chivate 303c5a3
Potential fix for pull request finding
rasika-chivate 94232ca
self review
rasika-chivate 5ce1aa2
Remove extra trailing blank lines in backup options docs
Copilot b73439f
Potential fix for pull request finding
rasika-chivate fdaa87d
Potential fix for pull request finding
rasika-chivate 4f9fc29
Potential fix for pull request finding
rasika-chivate 66f72da
Potential fix for pull request finding
rasika-chivate b2d07f7
Add numParallelFiles to backup YAML example
Copilot d08cf9a
Remove trailing blank lines in restore options doc
Copilot f5c0f06
Add restore numParallelFiles to YAML example
Copilot aef469c
Add restore numParallelFiles to YAML example
Copilot 2973877
Remove generated cache artifact and ignore .cache
Copilot c43bd8d
docs: add num-parallel-files to pbm backup flags
Copilot badea9e
Document --num-parallel-files for pbm restore
Copilot 22d720f
Update backup-physical.md
rasika-chivate 231d400
Potential fix for pull request finding
rasika-chivate d4d074d
Update backup-physical.md
rasika-chivate 24216b9
Merge branch 'PBM-1715-Parallel-file-processing-for-backups-and-resto…
rasika-chivate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ venv/ | |
| # Local Netlify folder | ||
| .netlify | ||
| site | ||
| .cache/ | ||
|
|
||
| styles/ | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ restore: | |
| numInsertionWorkers: <int> | ||
| numParallelCollections: <int> | ||
| numDownloadWorkers: <int> | ||
| numParallelFiles: <int> | ||
| maxDownloadBufferMb: <int> | ||
| downloadChunkMb: <int> | ||
| mongodLocation: <string> | ||
|
|
@@ -99,4 +100,16 @@ This is useful when you want to: | |
|
|
||
| - Prevent restore operations from waiting indefinitely | ||
| - Enforce time limits in automated workflows | ||
| - Fail fast if the balancer cannot be stopped | ||
| - Fail fast if the balancer cannot be stopped | ||
|
|
||
|
|
||
| ### restore.numParallelFiles | ||
|
|
||
| *Type*: int <br> | ||
| *Default*: 1 <br> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be precise, there is no default actually. If it is not specified, it's zero and that's the same as 1, which means sequentially. |
||
| *Storage*: Filesystem / NFS only <br> | ||
|
rasika-chivate marked this conversation as resolved.
|
||
| *Restore type:* Physical only | ||
|
rasika-chivate marked this conversation as resolved.
|
||
|
|
||
| The number of files to copy in parallel during a physical restore from filesystem or NFS storage. | ||
|
|
||
| The default value is `1`, which copies files sequentially. | ||
|
rasika-chivate marked this conversation as resolved.
rasika-chivate marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.