| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/mysql/mysql-test/suite/rpl/r/ |
Upload File : |
include/master-slave.inc [connection master] # # MDEV-37453 Parallel Replication Crash During Backup # connection master; CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE = innodb; INSERT INTO t1 VALUES (1, 0); INSERT INTO t1 VALUES (2, 0); connection slave; include/stop_slave.inc ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB; SET @old_parallel_threads = @@GLOBAL.slave_parallel_threads; SET @old_parallel_mode = @@GLOBAL.slave_parallel_mode; SET @@global.slave_parallel_threads= 2; SET @@global.slave_parallel_mode = 'optimistic'; connection master; begin /* trx1 */; delete from t1 where a = 1; update t1 set b = 1 where a = 2; commit; begin /* trx2 */; delete from t1 where a = 2; commit; connect aux_slave,127.0.0.1,root,,test,$SLAVE_MYPORT,; BEGIN; DELETE FROM t1 WHERE a = 1; connection slave; include/start_slave.inc connection aux_slave; connect backup_slave,127.0.0.1,root,,test,$SLAVE_MYPORT,; BACKUP STAGE START; BACKUP STAGE BLOCK_COMMIT; connection aux_slave; ROLLBACK; connection aux_slave; connection backup_slave; BACKUP STAGE END; connection slave; include/diff_tables.inc [master:t1,slave:t1] connection slave; include/stop_slave.inc SET @@global.slave_parallel_threads= @old_parallel_threads; SET @@global.slave_parallel_mode = @old_parallel_mode; include/start_slave.inc connection server_1; DROP TABLE t1; include/rpl_end.inc # End of the tests