mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
skip purging from ec volumes
This commit is contained in:
parent
a2d3f89c7b
commit
94e5c0a454
|
@ -212,7 +212,8 @@ func (c *commandVolumeFsck) findExtraChunksInVolumeServers(volumeIdToVInfo map[u
|
|||
|
||||
if *applyPurging && len(orphanFileIds) > 0 {
|
||||
if vinfo.isEcVolume {
|
||||
fmt.Fprintf(writer, "Skip purging for Erasure Coded volumes.\n")
|
||||
fmt.Fprintf(writer, "Skip purging for Erasure Coded volume %d.\n", volumeId)
|
||||
continue
|
||||
}
|
||||
if inUseCount == 0 {
|
||||
if err := deleteVolume(c.env.option.GrpcDialOption, needle.VolumeId(volumeId), vinfo.server); err != nil {
|
||||
|
|
Loading…
Reference in a new issue