Skip to content

Commit 4b6970b

Browse files
sheikh-armanArnobKumarSaha
authored andcommitted
Fix Archiver Restore Issue, Member join failed. Local port: 33061 (#70)
Signed-off-by: SK Ali Arman <[email protected]>
1 parent 9d6c31d commit 4b6970b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ function create_replication_user() {
225225
else
226226
log "INFO" "Replication user exists. Skipping creating new one......."
227227
# Update replication channel password if it has been changed via RotateAuth
228-
retry 120 ${mysql} -N -e "STOP group_replication;"
229-
retry 120 ${mysql} -N -e "CHANGE REPLICATION SOURCE TO SOURCE_USER='repl', SOURCE_PASSWORD='$MYSQL_ROOT_PASSWORD' FOR CHANNEL 'group_replication_recovery';"
230-
retry 120 ${mysql} -N -e "START group_replication;"
228+
retry 120 ${mysql} -N -e "CHANGE MASTER TO MASTER_USER='repl', MASTER_PASSWORD='$MYSQL_ROOT_PASSWORD' FOR CHANNEL 'group_replication_recovery';"
231229
fi
232230
touch /scripts/ready.txt
233231
}

0 commit comments

Comments
 (0)