aboutsummaryrefslogtreecommitdiff
path: root/weed/server/master_server_handlers_admin.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-04-18 18:40:58 +0500
committerKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-04-18 18:40:58 +0500
commit1e35b4929f84830bf5fa132f1e715afa02cf62e0 (patch)
tree8d4cdc55f1ed5af56b213c42bfdbc4e7aa68947f /weed/server/master_server_handlers_admin.go
parentcdb31c5b61ca3c8632c8722cbb8ca5adef535cdc (diff)
downloadseaweedfs-1e35b4929f84830bf5fa132f1e715afa02cf62e0.tar.xz
seaweedfs-1e35b4929f84830bf5fa132f1e715afa02cf62e0.zip
shell vacuum volume by collection and volume id
Diffstat (limited to 'weed/server/master_server_handlers_admin.go')
-rw-r--r--weed/server/master_server_handlers_admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/master_server_handlers_admin.go b/weed/server/master_server_handlers_admin.go
index 72d4e20d7..ade750ccc 100644
--- a/weed/server/master_server_handlers_admin.go
+++ b/weed/server/master_server_handlers_admin.go
@@ -64,7 +64,7 @@ func (ms *MasterServer) volumeVacuumHandler(w http.ResponseWriter, r *http.Reque
}
}
// glog.Infoln("garbageThreshold =", gcThreshold)
- ms.Topo.Vacuum(ms.grpcDialOption, gcThreshold, ms.preallocateSize)
+ ms.Topo.Vacuum(ms.grpcDialOption, gcThreshold, 0, "", ms.preallocateSize)
ms.dirStatusHandler(w, r)
}