Merge pull request #12941 from serathius/defrag

etcdserver: Implement running defrag if freeable space will exceed provided threshold (on boot)
This commit is contained in:
Piotr Tabor
2021-05-12 09:26:56 +02:00
committed by GitHub
7 changed files with 52 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) {
WarningApplyDuration: cfg.ExperimentalWarningApplyDuration,
ExperimentalMemoryMlock: cfg.ExperimentalMemoryMlock,
ExperimentalTxnModeWriteWithSharedBuffer: cfg.ExperimentalTxnModeWriteWithSharedBuffer,
ExperimentalBootstrapDefragThresholdMegabytes: cfg.ExperimentalBootstrapDefragThresholdMegabytes,
}
if srvcfg.ExperimentalEnableDistributedTracing {