shell vacuum volume by collection and volume id

This commit is contained in:
Konstantin Lebedev
2022-04-18 18:40:58 +05:00
parent cdb31c5b61
commit 1e35b4929f
20 changed files with 272 additions and 243 deletions

View File

@@ -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)
}