[MDEV-23763] Replication breaks if multi-table DELETE is used in conjunction with Foreign Key Created: 2020-09-19  Updated: 2020-10-18

Status: Open
Project: MariaDB Server
Component/s: Replication, Server
Affects Version/s: 10.4.14
Fix Version/s: 10.4

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


 Description   

The bug is the same/very close to this one.
https://bugs.mysql.com/bug.php?id=80821

6 out of 10 times a multi-table DELETE is issued, replication breaks on the slave.

Last_SQL_Error: Could not execute Delete_rows_v1 event on table internal.files_trash; Can't find record in 'files_trash', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log sql1-bin.000003, end_log_pos 45515592

I'm using Maxscale in readwritesplit mode in front of two MariaDB 10.4.14 servers.


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