Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23763

Replication breaks if multi-table DELETE is used in conjunction with Foreign Key

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4.14
    • 10.4
    • Replication, Server
    • 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.

      Attachments

        Activity

          People

            Elkin Andrei Elkin
            acs-ferreira acsfer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.