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…
Reference in New Issue
Block a user