Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

skip purging from ec volumes

chrislu94e5c0a4544d
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go
index 5f6ddd7c3e..a7a9813394 100644
--- a/weed/shell/command_volume_fsck.go
+++ b/weed/shell/command_volume_fsck.go
@@ -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 {