Skip to content

Commit 42492d1

Browse files
jaogoyjukiewiczm-marketer
authored andcommitted
set default replication num to 1
Signed-off-by: jaogoy <jaogoy@gmail.com> Signed-off-by: Mateusz Jukiewicz <mateusz@marketer.tech>
1 parent a57f721 commit 42492d1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/scripts/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)