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

@@ -25,7 +25,7 @@ func (t *Topology) StartRefreshWritableVolumes(grpcDialOption grpc.DialOption, g
c := time.Tick(15 * time.Minute)
for _ = range c {
if t.IsLeader() {
t.Vacuum(grpcDialOption, garbageThreshold, preallocate)
t.Vacuum(grpcDialOption, garbageThreshold, 0, "", preallocate)
}
}
}(garbageThreshold)