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

Replication consistency is broken as workers miss the error notification from an earlier failed group.

    XMLWordPrintable

Details

    Description

      Enable parallel replication on slave.
      slave_parallel_mode='optimistic'.

      Table Structure:
      CREATE TABLE t2 (a int PRIMARY KEY) ENGINE=InnoDB;

      Execute following DML operations on master.

      INSERT INTO t2 VALUES (32);
      INSERT INTO t2 VALUES (33);
      INSERT INTO t2 VALUES (34);

      The above three transactions are scheduled for parallel execution on slave.
      The first insert fails on slave due to duplicate key error. Upon error the rest
      of the workers should abort but transaction 34 gets committed.

      Attachments

        Activity

          People

            sujatha.sivakumar Sujatha Sivakumar (Inactive)
            sujatha.sivakumar Sujatha Sivakumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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