I ran into this also. Sporadic, but common, failure. Issue occurrence may be more pronounced after bb-10.4-MDEV-30619.
bb-10.4-MDEV-30619 10.4.31 006aca3111e0cbd5f172060774c74e328bea4b0a (Debug)
|
...
|
rpl.rpl_parallel_optimistic_until 'innodb,row' w21 [ 157 fail ]
|
Test ended at 2023-07-22 17:25:26
|
|
CURRENT_TEST: rpl.rpl_parallel_optimistic_until
|
mysqltest: At line 274: Query 'SHOW RELAYLOG EVENTS IN 'slave-relay-bin.000003' FROM 508 LIMIT 1' didn't return a result set
|
|
The result from queries just before the failure was:
|
< snip >
|
1
|
SELECT count(*) = 0 as 'trx2 is not committed' FROM t1 WHERE b = 'trx2';
|
trx2 is not committed
|
1
|
Proof 2: Resume works out
|
include/start_slave.inc
|
connection master;
|
connection slave;
|
*** case 4 Relay-log UNTIL inside trx1
|
connection slave;
|
DELETE FROM t1 WHERE a <> 25;
|
UPDATE t1 SET b='trx0' WHERE a = 25;
|
connection slave1;
|
BEGIN;
|
INSERT INTO t1 SET a= 1; # block trx1;
|
connection slave;
|
include/stop_slave.inc
|
CHANGE MASTER TO MASTER_LOG_FILE = 'file_1', MASTER_LOG_POS = <pos_trx0>, MASTER_USE_GTID=no;
|
START SLAVE IO_THREAD;
|
include/wait_for_slave_io_to_start.inc
|
10.7 d7af7bfc2b6ab89801059406e1bd74846a2ca8e8
rpl.rpl_parallel_optimistic_until 'innodb,row' w8 [ fail ]
Test ended at 2021-10-28 09:27:10
CURRENT_TEST: rpl.rpl_parallel_optimistic_until
mysqltest: At line 274: Query 'SHOW RELAYLOG EVENTS IN 'slave-relay-bin.000003' FROM 508 LIMIT 1' didn't return a result set