Merge pull request #7160 from xiang90/snapshotcount

etcdserver: increase snapshot to 100,000
This commit is contained in:
Xiang Li 2017-01-14 16:53:44 -08:00 committed by GitHub
commit 699b1e5b3a
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ To start etcd automatically using custom settings at startup in Linux, using a [
### --snapshot-count
+ Number of committed transactions to trigger a snapshot to disk.
+ default: "10000"
+ default: "100000"
+ env variable: ETCD_SNAPSHOT_COUNT
### --heartbeat-interval

View File

@ -42,7 +42,7 @@ member flags:
path to the data directory.
--wal-dir ''
path to the dedicated wal directory.
--snapshot-count '10000'
--snapshot-count '100000'
number of committed transactions to trigger a snapshot to disk.
--heartbeat-interval '100'
time (in milliseconds) of a heartbeat interval.

View File

@ -61,7 +61,7 @@ import (
)
const (
DefaultSnapCount = 10000
DefaultSnapCount = 100000
StoreClusterPrefix = "/0"
StoreKeysPrefix = "/1"