-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
etcdserver: increase snapshot to 100,000 #7160
Conversation
Keep more wal entries in memory for fast follower recovery. 10,000 was a too small number that triggers quite a few snapshots. ZK proves that 100,000 is a reasonable number for even old less prowerful machines. Eventually we should provide both count and max memory (for large entries).
/cc @heyitsanthony |
Current coverage is 63.85% (diff: 100%)
|
travis seems went crazy. |
lgtm. Could you open an issue about making this smarter in the future so it can be tracked? |
@heyitsanthony Sure. I will open an issue to track this and merge in this PR shortly. |
@heyitsanthony Created issue #7162 |
@gyuho we need to set snapshot count to 10,000 for our functional tester explicitly now. We do want to trigger snapshot sending fast in our functional tester. |
Keep more wal entries in memory for fast follower recovery and less snapshots.
10,000 was a too small number that triggers quite a few compactions/snapshots.
ZK proves that 100,000 is a reasonable number for even old less powerful
machines.
Eventually we should provide both count and max memory (for large entries).