aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_common.go
diff options
context:
space:
mode:
authorLisandro Pin <lisandro.pin@proton.ch>2025-02-06 18:19:28 +0100
committerGitHub <noreply@github.com>2025-02-06 09:19:28 -0800
commit29c2d9b965477055bfb3379c2957df583dd5b7b4 (patch)
treec63ab4cc71381c2203da66d2bfd3e2a9404a7f54 /weed/shell/command_ec_common.go
parenta250699225f40bdf1809254cbc45a5bb9eb84e18 (diff)
downloadseaweedfs-29c2d9b965477055bfb3379c2957df583dd5b7b4.tar.xz
seaweedfs-29c2d9b965477055bfb3379c2957df583dd5b7b4.zip
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 <chrislusf@users.noreply.github.com>
Diffstat (limited to 'weed/shell/command_ec_common.go')
-rw-r--r--weed/shell/command_ec_common.go3
1 files changed, 0 insertions, 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
}