Merge pull request #12750 from ptabor/20210306-mlock

--experimental-memory-mlock support
This commit is contained in:
Gyuho Lee
2021-03-09 09:13:40 -08:00
committed by GitHub
18 changed files with 104 additions and 16 deletions

View File

@@ -211,6 +211,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) {
WatchProgressNotifyInterval: cfg.ExperimentalWatchProgressNotifyInterval,
DowngradeCheckTime: cfg.ExperimentalDowngradeCheckTime,
WarningApplyDuration: cfg.ExperimentalWarningApplyDuration,
ExperimentalMemoryMlock: cfg.ExperimentalMemoryMlock,
}
print(e.cfg.logger, *cfg, srvcfg, memberInitialized)
if e.Server, err = etcdserver.NewServer(srvcfg); err != nil {