diff --git a/etcdctl/ctlv3/command/snapshot_command.go b/etcdctl/ctlv3/command/snapshot_command.go index 02dda015799e..0c1d219d35a7 100644 --- a/etcdctl/ctlv3/command/snapshot_command.go +++ b/etcdctl/ctlv3/command/snapshot_command.go @@ -409,7 +409,7 @@ func dbStatus(p string) dbstatus { ds := dbstatus{} - db, err := bolt.Open(p, 0400, nil) + db, err := bolt.Open(p, 0400, &bolt.Options{NoFreelistSync: true}) if err != nil { ExitWithError(ExitError, err) }