This is an automated email from the ASF dual-hosted git repository.
gus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new b6562691c84 Fix a tiny bitrot in cloud.sh with command script params
(#3638)
b6562691c84 is described below
commit b6562691c8451e3754236b95ebbacdd9a774e08d
Author: Gus Heck <[email protected]>
AuthorDate: Tue Sep 9 00:22:24 2025 -0400
Fix a tiny bitrot in cloud.sh with command script params (#3638)
---
dev-tools/scripts/cloud.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-tools/scripts/cloud.sh b/dev-tools/scripts/cloud.sh
index 30271dc4ce8..24c8e92f844 100755
--- a/dev-tools/scripts/cloud.sh
+++ b/dev-tools/scripts/cloud.sh
@@ -59,7 +59,7 @@
# that not using the embedded zookeeper is key to being able
# switch between testing setups and to test vs alternate versions
# of zookeeper if desired.
-#
+#
# An option is:
# docker run --name my-zookeeper -p 2181:2181 -d zookeeper
#
@@ -315,7 +315,7 @@ start(){
echo "SOLR=$SOLR"
# Create the root if it doesn't already exist
${SOLR}/bin/solr zk mkroot "/solr_${SAFE_DEST}" -z localhost:${ZK_PORT}
-
+
ACTUAL_NUM_NODES=$(ls -1 -d ${CLUSTER_WD}/n* | wc -l )
if [[ "$NUM_NODES" -eq 0 ]]; then
NUM_NODES=${ACTUAL_NUM_NODES}
@@ -334,8 +334,8 @@ start(){
echo "Final NUM_NODES is $NUM_NODES"
for i in `seq 1 $NUM_NODES`; do
mkdir -p "${CLUSTER_WD}/n${i}"
- argsArray=(-c --solr-home $CLUSTER_WD_FULL/n${i} -z
localhost:${ZK_PORT}/solr_${SAFE_DEST} -p 898${i} -m $MEMORY \
- -a "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=500${i} \
+ argsArray=(--solr-home $CLUSTER_WD_FULL/n${i} -z
localhost:${ZK_PORT}/solr_${SAFE_DEST} -p 898${i} -m $MEMORY \
+ --jvm-opts
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=500${i} \
-Dsolr.logs.dir=$CLUSTER_WD_FULL/n${i} $JVM_ARGS")
FINAL_COMMAND="${SOLR}/bin/solr ${argsArray[@]}"
echo ${FINAL_COMMAND}