volume: sync volume file right before compaction
fix https://github.com/chrislusf/seaweedfs/issues/1237
This commit is contained in:
@@ -179,3 +179,7 @@ func (s3backendStorageFile S3BackendStorageFile) GetStat() (datSize int64, modTi
|
||||
func (s3backendStorageFile S3BackendStorageFile) Name() string {
|
||||
return s3backendStorageFile.key
|
||||
}
|
||||
|
||||
func (s3backendStorageFile S3BackendStorageFile) Sync() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user