-
Notifications
You must be signed in to change notification settings - Fork 20
PSMDB-1284 Doc: File copy based initial sync #912
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
Conversation
new file: docs/initial-sync.md modified: docs/psmdb-pro.md modified: mkdocs-base.yml
Your Render PR Server URL is https://psmdb-docs-7-0-pr-912.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-cr4a0ohu0jms73djo6ig. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but exact versions should be reviewed everywhere when we are ready for release
fd50b80
to
a623c6b
Compare
a623c6b
to
7268d2a
Compare
Addressed comments Added a high-level workflow Added confog parameters description Added limitations to not send users to upstream docs
85bf924
to
28c8b97
Compare
Co-authored-by: radoslawszulgo <[email protected]>
Co-authored-by: radoslawszulgo <[email protected]>
Co-authored-by: radoslawszulgo <[email protected]>
I'd change the file name to fcbis-initial-sync.md or something. As there's also logical initial sync - the name of the file (and the URL) might be misleading. |
docs/initial-sync.md
Outdated
* Don't run backups on either sync source or syncing nodes | ||
* Don't write to the `local` database on the syncing node | ||
* You cannot use the same sync source for multiple target nodes simultaneously because only one backup cursor can exist at any moment. | ||
* If you're using encrypted storage, Percona Server for MongoDB applies the encryption key from the sync source node to secure the data on the syncing node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add initial sync doesn't work for in-memory storage engine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Percona Memory Engine?
|
||
When a new member joins the replica set, it receives the data from the existing replica set node via the initial sync. | ||
|
||
In Percona Server for MongoDB, you can choose a file copy-based initial sync for a new node. You must have WiredTiger defined as the storage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Percona Server for MongoDB, you can choose a file copy-based initial sync for a new node. You must have WiredTiger defined as the storage. | |
In Percona Server for MongoDB, you can choose a file copy-based initial sync for a new node. |
| `fileBasedInitialSyncMaxLagSec` | integer | 300 | Specifies the max lag in seconds between the syncing node and the sync source to mark the file copy based initial sync as done successfully | | ||
| `fileBasedInitialSyncMaxCyclesWithoutProgress` | integer | 3 | Specifies the max number of cycles to clone updates while the lag between the syncing node and the sync source is higher than `fileBasedInitialSyncMaxLagSec` | | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd appreciate a full configuration example with all the options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that its is enough to list parameters with descriptions. By default FCBIS should work with default parameters. Only dbadmins with good understanding of the topic should try to alter those parameters. I assume they know how to put parameter into config file.
new file: docs/initial-sync.md
modified: docs/psmdb-pro.md
modified: mkdocs-base.yml