Skip to content

Commit 9e03d53

Browse files
authored
feat: update the default mode of deploy tool (#3512)
1 parent c3aafce commit 9e03d53

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

release/conf/openmldb-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
export OPENMLDB_VERSION=0.8.3
33
# openmldb mode: standalone / cluster
4-
export OPENMLDB_MODE=${OPENMLDB_MODE:=standalone}
4+
export OPENMLDB_MODE=${OPENMLDB_MODE:=cluster}
55
# tablet port
66
export OPENMLDB_TABLET_PORT=10921
77
# nameserver port

test/test-tool/openmldb-deploy/install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ cp -f ../release/bin/*.sh bin/
3232

3333
mv ../hosts conf/hosts
3434
sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh
35-
sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh
3635
sed -i"" -e "s/CLEAR_OPENMLDB_INSTALL_DIR=false/CLEAR_OPENMLDB_INSTALL_DIR=true/g" conf/openmldb-env.sh
3736
sh sbin/stop-all.sh
3837
sh sbin/clear-all.sh

test/test-tool/openmldb-deploy/install_with_name.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ rm -f bin/*.sh
3232

3333
/bin/cp -f ../test/test-tool/openmldb-deploy/hosts conf/hosts
3434
sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh
35-
sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh
3635
sh sbin/deploy-all.sh
3736

3837
for (( i=0; i<=2; i++ ))

0 commit comments

Comments
 (0)