mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3006 from yichengq/storage-kvstore-test
storage: remove unnecessary ForceCommit in kvstore.Close
This commit is contained in:
commit
1a7a5fd45d
@ -233,7 +233,6 @@ func (s *store) Restore() error {
|
||||
func (s *store) Close() error {
|
||||
close(s.stopc)
|
||||
s.wg.Wait()
|
||||
s.b.ForceCommit()
|
||||
return s.b.Close()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user