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

Support DO_DOMAIN_IDS and IGNORE_DOMAIN_IDS in replication handshake

    XMLWordPrintable

Details

    Description

      Description of DO_DOMAIN_IDS is

      "The DO_DOMAIN_IDS option for CHANGE MASTER can be used to configure a replication slave to only apply binary log events if the transaction's GTID is in a specific gtid_domain_id value"

      The filter works after the replication handshake, which is counter intuitive.

      It would more consisten, if the replication handshake respect DO_DOMAIN_IDS and
      IGNORE_DOMAIN_IDS.

      One possible usecase is, if a async slave is a slave from a galera node. slave_pos is
      (, <server only gtid>)
      After an SST the <server only gtid> is not anymore in the binlog, but still the <any wsrep gtid> .

      This breaks replication. Repecting DO_DOMAIN_IDS in replication handshake can help here.

      Attachments

        Issue Links

          Activity

            People

              janlindstrom Jan Lindström
              Richard Richard Stracke
              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.