[MDEV-30948] rpl_mdev6020 reveals parallel slave race for Format_description Created: 2023-03-28  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.4, 10.5, 10.6, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.4, 10.5, 10.6, 10.11

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


 Description   

The test failure reported by marko

rpl.rpl_mdev6020 'innodb,row'            w27 [ fail ]
        Test ended at 2023-03-28 15:41:13
 
CURRENT_TEST: rpl.rpl_mdev6020
mysqltest: At line 42: failed in 'select master_pos_wait('master-bin.000002', 343, 300, '')': 2013: Lost connection to server during query

and confirmed by BB is explained to be about a race between a parallel slave worker and the driver thread that simultaneously read-from-it and wrote-to-it (actually destroyed) respectively.

A patch to convert rli->relay_log.description_event_for_exec into atomic<> is coming soon.



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

MDEV-29322 seems to be of the same class.

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