[MDEV-30490] binlog.innodb_rc_insert_before_delete hangs when run after some tests Created: 2023-01-28  Updated: 2023-01-31  Resolved: 2023-01-31

Status: Closed
Project: MariaDB Server
Component/s: Replication, Storage Engine - InnoDB, Tests
Affects Version/s: 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
Fix Version/s: 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3

Type: Bug Priority: Major
Reporter: Andrei Elkin Assignee: Andrei Elkin
Resolution: Fixed Votes: 0
Labels: None


 Description   

The recently added by MDEV-30010 test turns out to be unstable.
It hangs

binlog.binlog_xa_prepared_disconnect 'innodb,mix' [ pass ]   4497
connect  pause_purge,localhost,root;
START TRANSACTION WITH CONSISTENT SNAPSHOT;
connection default;
CREATE TABLE t_30010 (pk int PRIMARY KEY, sk INT UNIQUE) ENGINE=InnoDB;
INSERT INTO t_30010 VALUES (10, 100);
connect  con1,localhost,root;
BEGIN;
SELECT * FROM t_30010 WHERE sk = 100 FOR UPDATE;
pk	sk
10	100
connect  con2,localhost,root;
SET DEBUG_SYNC="lock_wait_suspend_thread_enter SIGNAL insert_wait_started";
INSERT INTO t_30010 VALUES (5, 100) # trx 1;
connect  con3,localhost,root;
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
SET DEBUG_SYNC="now WAIT_FOR insert_wait_started";
Warnings:
Warning	1639	debug sync point wait timed out
SET DEBUG_SYNC="lock_wait_suspend_thread_enter SIGNAL delete_started_waiting";
BEGIN;
UPDATE t_30010 SET sk = 200 WHERE sk = 100; # trx 2;
connection con1;
SET DEBUG_SYNC="now WAIT_FOR delete_started_waiting";
Warnings:
Warning	1639	debug sync point wait timed out
DELETE FROM t_30010 WHERE sk=100;
COMMIT;
disconnect con1;
connection con2;
binlog.innodb_rc_insert_before_delete 'innodb,mix' [ fail ]
        Test ended at 2023-01-28 16:51:56

when is preceded by another test like above.



 Comments   
Comment by Andrei Elkin [ 2023-01-31 ]

The commit to re-enable the test was pushed to bb-10.5-release.

Generated at Thu Feb 08 10:16:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.