diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:00 +0000 |
commit | a2a2e32c02643a0cec111511220227703fda1cd5 (patch) | |
tree | 69cc2b631234c2a8e026b9cd4d72676c61c594df /mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc | |
parent | Releasing progress-linux version 1:10.11.8-1~progress7.99u1. (diff) | |
download | mariadb-a2a2e32c02643a0cec111511220227703fda1cd5.tar.xz mariadb-a2a2e32c02643a0cec111511220227703fda1cd5.zip |
Merging upstream version 1:11.4.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc')
-rw-r--r-- | mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc b/mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc index 96fcfa21..5961e3cc 100644 --- a/mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc +++ b/mysql-test/include/rpl_clone_slave_using_mariadb-backup.inc @@ -5,13 +5,14 @@ if ($cnf == "galera2_to_mariadb") --connect slave, 127.0.0.1, root, , test, $NODE_MYPORT_3 --disable_query_log --replace_result $MASTER_MYPORT ### - --eval CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_USER='root', MASTER_PORT=$MASTER_MYPORT, MASTER_USE_GTID=NO; + --eval CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_USER='root', MASTER_PORT=$MASTER_MYPORT, MASTER_USE_GTID=NO, MASTER_SSL_VERIFY_SERVER_CERT=0; --enable_query_log START SLAVE; --source include/wait_for_slave_to_start.inc - --let XTRABACKUP_BACKUP_OPTIONS=--no-defaults --user=root --host='127.0.0.1' --port=$NODE_MYPORT_3 - --let XTRABACKUP_COPY_BACK_OPTIONS= --no-defaults + --let XTRABACKUP_BACKUP_OPTIONS=--no-defaults --user=root --host='127.0.0.1' --port=$NODE_MYPORT_3 --loose-disable-ssl-verify-server-cert --loose-ssl-cert=$MYSQL_TEST_DIR/std_data/server-cert.pem --loose-ssl-key=$MYSQL_TEST_DIR/std_data/server-key.pem --loose-ssl-ca=$MYSQL_TEST_DIR/std_data/cacert.pem + + --let XTRABACKUP_COPY_BACK_OPTIONS=--no-defaults } if ($cnf == "mariadb_to_mariadb") @@ -92,7 +93,7 @@ COMMIT; --echo ############################################################## --echo ### Running `mariadb-backup --backup,--prepare` and checking ---echo ### that xtrabackup_slave_info and xtrabackup_binlog_info are OK +--echo ### that mariadb_backup_slave_info and mariadb_backup_binlog_info are OK --echo ### Slave: Create a backup --let $backup_slave=$MYSQLTEST_VARDIR/tmp/backup-slave @@ -104,12 +105,12 @@ COMMIT; --exec $XTRABACKUP --prepare --target-dir=$backup_slave --echo ### Slave: xtrabackup files: ---echo ############################ xtrabackup_slave_info +--echo ############################ mariadb_backup_slave_info --replace_result $master_after_tr01_show_master_status_file master_after_tr01_show_master_status_file $master_after_tr01_show_master_status_position master_after_tr01_show_master_status_position ---cat_file $backup_slave/xtrabackup_slave_info ---echo ############################ xtrabackup_binlog_info +--cat_file $backup_slave/mariadb_backup_slave_info +--echo ############################ mariadb_backup_binlog_info --replace_result $slave_after_tr01_show_master_status_file slave_after_tr01_show_master_status_file $slave_after_tr01_show_master_status_position slave_after_tr01_show_master_status_position $slave_after_tr01_gtid_binlog_pos slave_after_tr01_gtid_binlog_pos ---cat_file $backup_slave/xtrabackup_binlog_info +--cat_file $backup_slave/mariadb_backup_binlog_info --echo ############################ @@ -229,11 +230,11 @@ SELECT * FROM t1 ORDER BY a; --echo ### Slave: Execute the CHANGE MASTER statement to set up the host and port --replace_result $MASTER_MYPORT ### ---eval CHANGE MASTER '' TO MASTER_USER='root', MASTER_HOST='127.0.0.1', MASTER_PORT=$MASTER_MYPORT, MASTER_CONNECT_RETRY=1 +--eval CHANGE MASTER '' TO MASTER_USER='root', MASTER_HOST='127.0.0.1', MASTER_PORT=$MASTER_MYPORT, MASTER_CONNECT_RETRY=1, MASTER_SSL_VERIFY_SERVER_CERT=0 ---echo ### Slave: Execute the CHANGE MASTER statement from xtrabackup_slave_info +--echo ### Slave: Execute the CHANGE MASTER statement from mariadb_backup_slave_info --replace_result $master_after_tr01_show_master_status_file master_after_tr01_show_master_status_file $master_after_tr01_show_master_status_position master_after_tr01_show_master_status_position ---source $backup_slave/xtrabackup_slave_info +--source $backup_slave/mariadb_backup_slave_info --echo ### Slave: Execute START SLAVE --source include/start_slave.inc |