mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-24 18:59:34 +08:00
issue 49: unwritable volume become writable after compacting
This commit is contained in:
parent
3f5f8657d2
commit
55380a014d
@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis
|
||||
}
|
||||
}
|
||||
if isCommitSuccess {
|
||||
vl.setVolumeWritable(vid)
|
||||
vl.SetVolumeAvailable(dn,vid)
|
||||
}
|
||||
return isCommitSuccess
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user