From e34a6256621f355f80129736db5f89eb5339d361 Mon Sep 17 00:00:00 2001 From: Saikumar Date: Tue, 28 Jan 2025 14:21:45 +0530 Subject: [PATCH] Updates to support keyword "shard" as well --- pmm_qa/mlaunch_modb_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmm_qa/mlaunch_modb_setup.sh b/pmm_qa/mlaunch_modb_setup.sh index 3652390..e313c71 100755 --- a/pmm_qa/mlaunch_modb_setup.sh +++ b/pmm_qa/mlaunch_modb_setup.sh @@ -75,7 +75,7 @@ if [ "$mongodb_setup" == "psa" ]; then sleep 20 fi -if [ "$mongodb_setup" == "sharded" ]; then +if [ "$mongodb_setup" == "sharded" || "$mongodb_setup" == "shard" ]; then mlaunch init --bind_ip 0.0.0.0 --binarypath "./modb_${mongodb_version}/bin" --replicaset --sharded rs1 rs2 --config 3 pmm-admin add mongodb --enable-all-collectors --cluster mongodb_node_cluster --environment=mongos_shraded_node mongos_shraded_node_${SERVICE_RANDOM_NUMBER} --metrics-mode=$metrics_mode --debug 127.0.0.1:27017 sleep 2