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
fix(ec): log EC destination planning failures at v=2
Chris Lu0accff0e4a9b
diff --git a/weed/worker/tasks/erasure_coding/detection.go b/weed/worker/tasks/erasure_coding/detection.goindex 9b70e7ffce..c333032b74 100644--- a/weed/worker/tasks/erasure_coding/detection.go+++ b/weed/worker/tasks/erasure_coding/detection.go@@ -226,7 +226,7 @@ func Detection(ctx context.Context, metrics []*types.VolumeHealthMetrics, clusteparityShards := erasure_coding.ParityShardsCountmultiPlan, err := planECDestinations(planner, metric, ecConfig, dataShards, parityShards)if err != nil {- glog.Warningf("Failed to plan EC destinations for volume %d: %v", metric.VolumeID, err)+ glog.V(2).Infof("Failed to plan EC destinations for volume %d: %v", metric.VolumeID, err)consecutivePlanningFailures++if len(results) >= minProposalsBeforeEarlyStop && consecutivePlanningFailures >= maxConsecutivePlanningFailures {glog.Warningf("EC Detection: stopping early after %d consecutive placement failures with %d proposals already planned", consecutivePlanningFailures, len(results))