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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
skip not found error on deletion
Chris Lu0c0f77e2ae45
diff --git a/weed/shell/command_volume_tier_move.go b/weed/shell/command_volume_tier_move.goindex a3d7f2756c..19a515dabf 100644--- a/weed/shell/command_volume_tier_move.go+++ b/weed/shell/command_volume_tier_move.go@@ -8,6 +8,7 @@ import ("github.com/chrislusf/seaweedfs/weed/wdclient""io""path/filepath"+ "strings""time""github.com/chrislusf/seaweedfs/weed/storage/needle"@@ -136,7 +137,9 @@ func doVolumeTierMove(commandEnv *CommandEnv, writer io.Writer, vid needle.Volumfor _, loc := range locations {if loc.Url != dst.dataNode.Id {if err = deleteVolume(commandEnv.option.GrpcDialOption, vid, loc.Url); err != nil {- fmt.Fprintf(writer, "failed to delete volume %d on %s: %v\n", vid, loc.Url, err)+ if !strings.Contains(err.Error(), "not found") {+ fmt.Fprintf(writer, "failed to delete volume %d on %s: %v\n", vid, loc.Url, err)+ }}}}