*: Add experimental-compaction-batch-limit flag

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Joe Betz
2019-08-14 01:56:42 -07:00
committed by Gyuho Lee
parent b30c1eb2c8
commit 1e213b7ab6
23 changed files with 109 additions and 87 deletions

View File

@@ -205,6 +205,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) {
ForceNewCluster: cfg.ForceNewCluster,
EnableGRPCGateway: cfg.EnableGRPCGateway,
EnableLeaseCheckpoint: cfg.ExperimentalEnableLeaseCheckpoint,
CompactionBatchLimit: cfg.ExperimentalCompactionBatchLimit,
}
print(e.cfg.logger, *cfg, srvcfg, memberInitialized)
if e.Server, err = etcdserver.NewServer(srvcfg); err != nil {