mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-18 12:08:32 +02:00
issue 49: unwritable volume become writable after compacting
This commit is contained in:
1 parent
3f5f8657d2
commit
55380a014d
1 file changed
+1
-1
@@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis
|
||||
}
|
||||
}
|
||||
if isCommitSuccess {
|
||||
vl.setVolumeWritable(vid)
|
||||
vl.SetVolumeAvailable(dn,vid)
|
||||
}
|
||||
return isCommitSuccess
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user