aboutsummaryrefslogtreecommitdiff
path: root/weed/server/master_server_handlers_admin.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-04-18 09:59:58 -0700
committerGitHub <noreply@github.com>2022-04-18 09:59:58 -0700
commit60ae6082c20ee952835dd9944f67addc0f039ab1 (patch)
tree7ead6210486bbe6bca9a1b23e8bb6e808a6fe356 /weed/server/master_server_handlers_admin.go
parent868b4f894485d1b041daf4cfbfc96856b27eb253 (diff)
parent36c5a59ed8073099c8a5513667c5676f148657f7 (diff)
downloadseaweedfs-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.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)
}