[MDEV-27697] slave must recogzize incomplete replication event group Created: 2022-01-31  Updated: 2022-06-03  Resolved: 2022-04-25

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
Fix Version/s: 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3

Type: Bug Priority: Critical
Reporter: Andrei Elkin Assignee: Andrei Elkin
Resolution: Fixed Votes: 1
Labels: None


 Description   

In cases of a faulty master or an incorrect binlog event producer, that slave is working with,
sends an incomplete group of events slave must react with an error to not to log
into the relay-log any new events that do not belong to the incomplete group.
For example when the slave input is like

Gtid_event g1;
--error ER_INCOMPLETE_REPLICATION_EVENT_GROUP
Gtid_event g2;

the slave must error out at g2 receiving.



 Comments   
Comment by Andrei Elkin [ 2022-04-22 ]

06993643c80 is the commit with the fixes in bb-10.2-andrei (the top 3 commits of the branch are about simulation to help QA-ing, won't be pushed in the main trees).

Comment by Brandon Nesterenko [ 2022-04-23 ]

Review done, I left a few questions on the GH commit and Slack

Comment by Brandon Nesterenko [ 2022-04-25 ]

Approved 1bcdc3e.

Generated at Thu Feb 08 09:54:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.