diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-04-18 09:59:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-18 09:59:58 -0700 |
| commit | 60ae6082c20ee952835dd9944f67addc0f039ab1 (patch) | |
| tree | 7ead6210486bbe6bca9a1b23e8bb6e808a6fe356 /weed/server/master_server_handlers_admin.go | |
| parent | 868b4f894485d1b041daf4cfbfc96856b27eb253 (diff) | |
| parent | 36c5a59ed8073099c8a5513667c5676f148657f7 (diff) | |
| download | seaweedfs-60ae6082c20ee952835dd9944f67addc0f039ab1.tar.xz seaweedfs-60ae6082c20ee952835dd9944f67addc0f039ab1.zip | |
Merge pull request #2936 from kmlebedev/vacuum_by_vid
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.go | 2 |
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) } |
