aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-10-13 12:51:20 +0500
committerGitHub <noreply@github.com>2022-10-13 00:51:20 -0700
commit1f7e52c63e210ccb3a177c1e58d5a0c8e79ad870 (patch)
tree42b417fc124d40d01f75eb3d5eb9e6bce86b2e5f /weed/storage/disk_location.go
parentf5d4952d7306ba013bb9c054b221d795a3e110d6 (diff)
downloadseaweedfs-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.go2
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()