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

Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog

Details

    Description

      In addition to the features requested in MDEV-4989, it would also be helpful to filter GTIDs based on specific gtid_domain_id values when using mysqlbinlog. To do this, mysqlbinlog could have the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options, which would be similar to the DO_DOMAIN_IDS, IGNORE_DOMAIN_IDS, and IGNORE_SERVER_IDS options available for CHANGE MASTER TO.

      https://mariadb.com/kb/en/library/change-master-to/#do_domain_ids

      https://mariadb.com/kb/en/library/change-master-to/#ignore_domain_ids

      https://mariadb.com/kb/en/library/change-master-to/#ignore_server_ids

      From the commit message:
      "For completeness, this patch additionally adds the option --do-server-ids as an alias for
      --server-id, which now accepts a list of server ids instead of a
      single one."

      Attachments

        Issue Links

          Activity

            Hi Andrei,

            This relies on some ground-work laid by MDEV-4989, so it pends your review of that, but it is good for review otherwise.

            Commit: 85214cb4f7386bf10aa20fa7d97c2a46cb926001

            Buildbot: bb-10.7-MDEV-20119

            bnestere Brandon Nesterenko added a comment - Hi Andrei, This relies on some ground-work laid by MDEV-4989 , so it pends your review of that, but it is good for review otherwise. Commit: 85214cb4f7386bf10aa20fa7d97c2a46cb926001 Buildbot: bb-10.7-MDEV-20119

            Changing status back to in progress to update with MDEV-4989 comments.

            bnestere Brandon Nesterenko added a comment - Changing status back to in progress to update with MDEV-4989 comments.
            bnestere Brandon Nesterenko added a comment - - edited

            Hi Andrei! This is ready for review

            Commit: b8e3790bd5f9ee
            BB: bb-10.9-MDEV-20119

            Edit: Updated commit to account for gtid-strict-mode fixes

            bnestere Brandon Nesterenko added a comment - - edited Hi Andrei! This is ready for review Commit: b8e3790 bd5f9ee BB: bb-10.9-MDEV-20119 Edit: Updated commit to account for gtid-strict-mode fixes

            Final commit: c132bce

            bnestere Brandon Nesterenko added a comment - Final commit: c132bce

            People

              bnestere Brandon Nesterenko
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              10 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.