vacuum metrics and force sync dst files (#3832)
This commit is contained in:
committed by
GitHub
parent
f5d4952d73
commit
1f7e52c63e
@@ -125,6 +125,7 @@ func (ev *EcVolume) Close() {
|
||||
ev.ecjFileAccessLock.Unlock()
|
||||
}
|
||||
if ev.ecxFile != nil {
|
||||
_ = ev.ecxFile.Sync()
|
||||
_ = ev.ecxFile.Close()
|
||||
ev.ecxFile = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user