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

Document how to reset gtid_current_pos

    XMLWordPrintable

Details

    Description

      The documentation doesn't currently say how to reset gtid_current_pos:

      https://mariadb.com/kb/en/library/gtid/#gtid_current_pos

      gtid_current_pos is made up by combining GTIDs from two different variables: gtid_binlog_pos and gtid_slave_pos. So to reset gtid_current_pos, you need to reset both of those.

      1.) gtid_binlog_pos can be reset with "RESET MASTER":

      https://mariadb.com/kb/en/library/reset-master/

      https://mariadb.com/kb/en/library/gtid/#gtid_binlog_pos

      2.) gtid_slave_pos can be reset by executing:

      SET GLOBAL gtid_slave_pos='';
      

      https://mariadb.com/kb/en/library/gtid/#gtid_slave_pos

      Attachments

        Issue Links

          Activity

            People

              KennethDyer Kenneth Dyer (Inactive)
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.