issue 49: unwritable volume become writable after compacting

This commit is contained in:
Chris Lu 2013-10-16 08:10:48 -07:00
parent 3f5f8657d2
commit 55380a014d

View file

@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis
}
}
if isCommitSuccess {
vl.setVolumeWritable(vid)
vl.SetVolumeAvailable(dn,vid)
}
return isCommitSuccess
}