|
@ -72,9 +72,9 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis |
|
|
} else { |
|
|
} else { |
|
|
glog.V(0).Infoln("Complete Commiting vacuum", vid, "on", dn.Url()) |
|
|
glog.V(0).Infoln("Complete Commiting vacuum", vid, "on", dn.Url()) |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if isCommitSuccess { |
|
|
if isCommitSuccess { |
|
|
vl.setVolumeWritable(vid) |
|
|
|
|
|
|
|
|
vl.SetVolumeAvailable(dn, vid) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
return isCommitSuccess |
|
|
return isCommitSuccess |
|
|
} |
|
|
} |
|
|