Skip to content

Commit f6e106e

Browse files
committed
set default replication num to 1
Signed-off-by: jaogoy <jaogoy@gmail.com>
1 parent e13f1cb commit f6e106e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.circleci/wait-for-db.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ starrocks_ready() {
7676
echo "Waiting for more backends to become alive..."
7777
sleep 5
7878
done
79+
80+
# set default replication num to 1 (there is only one be in the docker compose file)
81+
docker exec -i starrocks-fe mysql -h127.0.0.1 -P9030 -uroot -e "ADMIN SET frontend config ('default_replication_num' = '1');"
7982
}
8083

8184
trino_ready() {

0 commit comments

Comments
 (0)