diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-10-16 08:10:48 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-10-16 08:10:48 -0700 |
| commit | 55380a014d6abf0c930e8393a285a9e47e51840b (patch) | |
| tree | 44194eee8c6de7813e1d8a2dfc2380036d2ab022 /go/topology | |
| parent | 3f5f8657d28d98eaecb53dacb0228d29f705f24b (diff) | |
| download | seaweedfs-55380a014d6abf0c930e8393a285a9e47e51840b.tar.xz seaweedfs-55380a014d6abf0c930e8393a285a9e47e51840b.zip | |
issue 49: unwritable volume become writable after compacting
Diffstat (limited to 'go/topology')
| -rw-r--r-- | go/topology/topology_compact.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
