Skip to content

Commit

Permalink
modified: etcd.service.j2; fix compaction about, when `auto-compactio…
Browse files Browse the repository at this point in the history
…n-retention=1` auto-compaction-mode is `revision`, shuld be set to `periodic`. Ref: https://etcd.io/docs/v3.4.0/op-guide/maintenance/
  • Loading branch information
lushenle authored and gjmzj committed Dec 16, 2020
1 parent 749baf5 commit 79adb50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/etcd/templates/etcd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ExecStart={{ bin_dir }}/etcd \
--snapshot-count=50000 \
--auto-compaction-retention=1 \
--max-request-bytes=10485760 \
--auto-compaction-mode=periodic \
--quota-backend-bytes=8589934592
Restart=always
RestartSec=15
Expand Down

0 comments on commit 79adb50

Please sign in to comment.