Browse Source

issue 49: unwritable volume become writable after compacting

pull/2/head
Chris Lu 11 years ago
parent
commit
55380a014d
  1. 2
      go/topology/topology_compact.go

2
go/topology/topology_compact.go

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

Loading…
Cancel
Save