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

Generate and store snapshots on primary node #1500

Merged
merged 19 commits into from
Aug 18, 2020

Conversation

jumaffre
Copy link
Contributor

Resolves item 1. in #1301

The primary node now generates snapshots at regular interval, as specified by the --snapshot-min-tx cchost CLI parameter. The snapshots are stored on disk (in the --snapshot-dir folder specific to each node).

By default, snapshots are never generated (hence the new temporary reconfiguration_snapshot_test which sets it to a low value on purpose). We don't do anything with the snapshot just yet, but it will get passed to new joiners by Raft.

@jumaffre jumaffre requested a review from a team as a code owner August 14, 2020 16:52
Julien Maffre added 2 commits August 14, 2020 17:57
@ghost
Copy link

ghost commented Aug 17, 2020

generate_snapshot@11720 aka 20200818.17 vs master ewma over 50 builds from 11303 to 11717
images

@microsoft microsoft deleted a comment Aug 18, 2020
@jumaffre jumaffre merged commit 7431f2d into microsoft:master Aug 18, 2020
@achamayou achamayou mentioned this pull request Aug 28, 2020
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