-
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
[area/questions] Make default snapshot-count 10k #13889
Comments
chaochn47
changed the title
Make default snapshot-count 10k
[area/questions] Make default snapshot-count 10k
Apr 7, 2022
https://docs.google.com/document/d/16XEGyPBisZvmmoIHSZzv__LoyOeluC5a4x353CX0SIM/edit# |
I agree that good reasons why it used to be 100'000 ended when storeV2 stopped containing key-value payload so cost of writing such snapshot is neglictable.
|
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am wondering if etcd should make
snapshot-count
to be10k
because it is recommended in kubernetes to set this as10k
. kubernetes/kubernetes#100475 (comment)I cannot explain why etcd uses higher default value
100k
and kubeadmsnapshot-count
default value is10k
. Production set up typically does not have slow follower availability concerns and functional testing is keep using2000
for quite long time.etcd/tests/functional/functional.yaml
Line 32 in ad03f20
The benefits of making
snapshot-count
to10k
:Any concerns about this ^ @serathius @ahrtr @ptabor @spzala
Reference
keep etcd default value for snapshot count in kubernetes the same with etcd community kubernetes/kubernetes#100475 (comment)
etcdserver: increase snapshot to 100,000 introduced in v3.2.x
RCA of memory jump from etcd v3.1.x to etcd v3.2.x
Rethink of raft log compaction (a more dynamic and graceful way to compact raft log)
The text was updated successfully, but these errors were encountered: