Skip to content

Commit

Permalink
add ready signal for coordinator
Browse files Browse the repository at this point in the history
Signed-off-by: Mehedi Hasan <[email protected]>
  • Loading branch information
heheh13 committed Nov 1, 2023
1 parent d0ed5bc commit 471dd24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ function create_replication_user() {
else
log "INFO" "Replication user exists. Skipping creating new one......."
fi
touch /scripts/ready.txt
}

function install_group_replication_plugin() {
Expand Down
1 change: 1 addition & 0 deletions scripts/run_innodb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function create_replication_user() {
retry 120 ${mysql} -N -e "SET SQL_LOG_BIN=1;"
fi
# retry 120 ${mysql} -N -e "CHANGE MASTER TO MASTER_USER='repl', MASTER_PASSWORD='$MYSQL_ROOT_PASSWORD' FOR CHANNEL 'group_replication_recovery';"
touch /scripts/ready.txt
}

restart_required=0
Expand Down

0 comments on commit 471dd24

Please sign in to comment.