diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.go index 71e05893e..aa6fa0f81 100644 --- a/weed/shell/command_ec_rebuild.go +++ b/weed/shell/command_ec_rebuild.go @@ -231,12 +231,7 @@ func (erb *ecRebuilder) rebuildEcVolumes(collection string) { continue } if shardCount < erasure_coding.DataShardsCount { - // Capture variables for closure - vid := vid - shardCount := shardCount - erb.ewg.Add(func() error { - return fmt.Errorf("ec volume %d is unrepairable with %d shards", vid, shardCount) - }) + erb.write("ec volume %d is unrepairable with %d shards (need %d), skipping\n", vid, shardCount, erasure_coding.DataShardsCount) continue }