diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-10-13 12:51:20 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 00:51:20 -0700 |
| commit | 1f7e52c63e210ccb3a177c1e58d5a0c8e79ad870 (patch) | |
| tree | 42b417fc124d40d01f75eb3d5eb9e6bce86b2e5f /weed/storage/disk_location.go | |
| parent | f5d4952d7306ba013bb9c054b221d795a3e110d6 (diff) | |
| download | seaweedfs-1f7e52c63e210ccb3a177c1e58d5a0c8e79ad870.tar.xz seaweedfs-1f7e52c63e210ccb3a177c1e58d5a0c8e79ad870.zip | |
vacuum metrics and force sync dst files (#3832)
Diffstat (limited to 'weed/storage/disk_location.go')
| -rw-r--r-- | weed/storage/disk_location.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go index 6f938da8f..b3be04703 100644 --- a/weed/storage/disk_location.go +++ b/weed/storage/disk_location.go @@ -364,7 +364,7 @@ func (l *DiskLocation) VolumesLen() int { func (l *DiskLocation) SetStopping() { l.volumesLock.Lock() for _, v := range l.volumes { - v.SetStopping() + v.SyncToDisk() } l.volumesLock.Unlock() |
