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

mysqldump wipes off pre-existing gtid slave state

Details

    Description

      Created by mysqldump --gtid backup script removes any former value of
      @@global.gtid_slave.pos because the script would execute

         set @@global.gtid_slave_pos = "gtid-state-of-the-donor-server"
      
      

      and obviously discard any former value.
      Such behavior is historical and reflects the original intention to provide support for the whole
      state backup.

      Thus an automatic recomputation of the slave gtid state for the partial backup has not been provided.
      It can be done with improving on mysqldump to make it compose a new value as an union of the being backed up state
      and @@global.gtid_slave_pos of the target server.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Andrei Elkin made transition -
            Open In Progress
            51s 1
            Andrei Elkin made transition -
            In Progress In Review
            23m 31s 1
            Andrei Elkin made transition -
            In Review Stalled
            2d 18h 44m 1

            People

              Elkin Andrei Elkin
              Elkin Andrei Elkin
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.