server: replace mlockall with Mlock in --experimental-memory-mlock

Implementation of `--experimental-memory-mlock` backed by `mlockall` syscall is replaced by `Mlock` flag (backed by mlock syscall) of bboltDB.
This commit is contained in:
wpedrak
2021-04-28 16:00:04 +02:00
parent cc52d994b7
commit 927b3a3152
13 changed files with 26 additions and 85 deletions

2
go.mod
View File

@@ -19,7 +19,7 @@ require (
github.com/dustin/go-humanize v1.0.0
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/spf13/cobra v1.1.1
go.etcd.io/bbolt v1.3.5
go.etcd.io/bbolt v1.3.6-0.20210426205525-9c92be978ae0
go.etcd.io/etcd/api/v3 v3.5.0-alpha.0
go.etcd.io/etcd/client/pkg/v3 v3.5.0-alpha.0
go.etcd.io/etcd/client/v2 v2.305.0-alpha.0