This commit is contained in:
Chris Lu 2018-10-24 00:00:01 -07:00
parent 6a756136ef
commit 9e98bba206

View file

@ -152,7 +152,7 @@ func vacuumOneVolumeLayout(volumeLayout *VolumeLayout, c *Collection, garbageThr
if batchVacuumVolumeCheck(volumeLayout, vid, locationlist, garbageThreshold) {
if batchVacuumVolumeCompact(volumeLayout, vid, locationlist, preallocate) {
batchVacuumVolumeCommit(volumeLayout, vid, locationlist)
}else{
} else {
batchVacuumVolumeCleanup(volumeLayout, vid, locationlist)
}
}