From 29c2d9b965477055bfb3379c2957df583dd5b7b4 Mon Sep 17 00:00:00 2001 From: Lisandro Pin Date: Thu, 6 Feb 2025 18:19:28 +0100 Subject: [PATCH] Remove warning on EC balancing if no replica placement settings are found. (#6516) Effectively undoes c9399a68; with ff8bd862, a replica placement type `000` will no longer break shards re-balancing. Co-authored-by: Chris Lu --- weed/shell/command_ec_common.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index 71bc37415..f7af8818d 100644 --- a/weed/shell/command_ec_common.go +++ b/weed/shell/command_ec_common.go @@ -194,9 +194,6 @@ func parseReplicaPlacementArg(commandEnv *CommandEnv, replicaStr string) (*super fmt.Printf("using master default replica placement %q for EC volumes\n", rp.String()) } - if !rp.HasReplication() { - fmt.Printf("WARNING: replica placement type %q is empty!\n", rp.String()) - } return rp, nil }