diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-19 23:54:52 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-19 23:54:52 -0700 |
| commit | 81797a059acc5c601281a06ccc3c041815c7df74 (patch) | |
| tree | e5b0d0db9fd88ff2e2adef450c51832a30a45a94 /weed/storage/backend/s3_backend/s3_backend.go | |
| parent | 709f231e23d2ad40e2094a906d50fefad31423be (diff) | |
| download | seaweedfs-81797a059acc5c601281a06ccc3c041815c7df74.tar.xz seaweedfs-81797a059acc5c601281a06ccc3c041815c7df74.zip | |
volume: sync volume file right before compaction
fix https://github.com/chrislusf/seaweedfs/issues/1237
Diffstat (limited to 'weed/storage/backend/s3_backend/s3_backend.go')
| -rw-r--r-- | weed/storage/backend/s3_backend/s3_backend.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/storage/backend/s3_backend/s3_backend.go b/weed/storage/backend/s3_backend/s3_backend.go index e08fef8a4..4706c9334 100644 --- a/weed/storage/backend/s3_backend/s3_backend.go +++ b/weed/storage/backend/s3_backend/s3_backend.go @@ -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 +} |
