From 55380a014d6abf0c930e8393a285a9e47e51840b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 16 Oct 2013 08:10:48 -0700 Subject: [PATCH] issue 49: unwritable volume become writable after compacting --- go/topology/topology_compact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/topology/topology_compact.go b/go/topology/topology_compact.go index 6394c59c6..bcf578813 100644 --- a/go/topology/topology_compact.go +++ b/go/topology/topology_compact.go @@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis } } if isCommitSuccess { - vl.setVolumeWritable(vid) + vl.SetVolumeAvailable(dn,vid) } return isCommitSuccess }