From ec7cf9a265dfda2786346626547b0dd57f9efa36 Mon Sep 17 00:00:00 2001 From: dl239 Date: Fri, 15 Sep 2023 15:38:46 +0800 Subject: [PATCH 1/2] feat: update the default mode of deploy tool --- release/conf/openmldb-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/conf/openmldb-env.sh b/release/conf/openmldb-env.sh index d2967bdb777..aa544d47449 100644 --- a/release/conf/openmldb-env.sh +++ b/release/conf/openmldb-env.sh @@ -1,7 +1,7 @@ #! /usr/bin/env bash export OPENMLDB_VERSION=0.8.2 # openmldb mode: standalone / cluster -export OPENMLDB_MODE=${OPENMLDB_MODE:=standalone} +export OPENMLDB_MODE=${OPENMLDB_MODE:=cluster} # tablet port export OPENMLDB_TABLET_PORT=10921 # nameserver port From 3a5fc72b8a8375743ebf042255047a39ef6efbbc Mon Sep 17 00:00:00 2001 From: dl239 Date: Fri, 15 Sep 2023 16:00:38 +0800 Subject: [PATCH 2/2] test: udpate test tool --- test/test-tool/openmldb-deploy/install.sh | 1 - test/test-tool/openmldb-deploy/install_with_name.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/test/test-tool/openmldb-deploy/install.sh b/test/test-tool/openmldb-deploy/install.sh index e0238b2d530..a75cc21fec1 100644 --- a/test/test-tool/openmldb-deploy/install.sh +++ b/test/test-tool/openmldb-deploy/install.sh @@ -32,7 +32,6 @@ cp -f ../release/bin/*.sh bin/ mv ../hosts conf/hosts sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh -sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh sed -i"" -e "s/CLEAR_OPENMLDB_INSTALL_DIR=false/CLEAR_OPENMLDB_INSTALL_DIR=true/g" conf/openmldb-env.sh sh sbin/stop-all.sh sh sbin/clear-all.sh diff --git a/test/test-tool/openmldb-deploy/install_with_name.sh b/test/test-tool/openmldb-deploy/install_with_name.sh index 6ce1851f103..a1525767a36 100644 --- a/test/test-tool/openmldb-deploy/install_with_name.sh +++ b/test/test-tool/openmldb-deploy/install_with_name.sh @@ -32,7 +32,6 @@ rm -f bin/*.sh /bin/cp -f ../test/test-tool/openmldb-deploy/hosts conf/hosts sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh -sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh sh sbin/deploy-all.sh for (( i=0; i<=2; i++ ))