volume: sync volume file right before compaction
fix https://github.com/chrislusf/seaweedfs/issues/1237
This commit is contained in:
@@ -19,6 +19,7 @@ type BackendStorageFile interface {
|
||||
io.Closer
|
||||
GetStat() (datSize int64, modTime time.Time, err error)
|
||||
Name() string
|
||||
Sync() error
|
||||
}
|
||||
|
||||
type BackendStorage interface {
|
||||
|
||||
Reference in New Issue
Block a user