mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: close snapshot backend to close open file on member/snap/db
This commit is contained in:
parent
a8f9de2abf
commit
7ffcca5946
@ -392,6 +392,7 @@ func makeDB(snapdir, dbfile string, commit int) {
|
||||
txn.End()
|
||||
s.Commit()
|
||||
s.Close()
|
||||
be.Close()
|
||||
}
|
||||
|
||||
type dbstatus struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user