1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 16:16:58 +02:00
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)
}
}