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

mariabackup does not detect multi-source replication slave

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.3.20
    • Backup, mariabackup
    • None

    Description

      I am running multi-source slave and trying to backup database with mariabackup.
      mariabackup --compress --open-files-limit=9046 --slave-info --safe-slave-backup --safe-slave-backup-timeout=500 --backup --target-dir /backup/mysqld1/2019-11-12

      But mariabackup does not detect multi-source slave configuration ( i don't have default_master_connection configured, only named connections)

      [00] 2019-11-12 12:02:48 Failed to get master binlog coordinates from SHOW SLAVE STATUS.This means that the server is not a replication slave. Ignoring the --slave-info option

      [00] 2019-11-12 12:02:48 Compressing xtrabackup_binlog_info
      [00] 2019-11-12 12:02:48 ...done
      [00] 2019-11-12 12:02:48 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
      [00] 2019-11-12 12:02:48 mariabackup: The latest check point (for incremental): '587720589969'
      mariabackup: Stopping log copying thread.[00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)

      [00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)
      [00] 2019-11-12 12:02:48 Executing UNLOCK TABLES
      [00] 2019-11-12 12:02:48 All tables unlocked

      Attachments

        Issue Links

          Activity

            greenny380 Igor created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            Component/s mariabackup [ 14500 ]
            Fix Version/s 10.3 [ 22126 ]
            Assignee Vladislav Lesin [ vlad.lesin ]
            julien.fritsch Julien Fritsch made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Vladislav Lesin [ vlad.lesin ] Sergei Golubchik [ serg ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Sergei Golubchik [ serg ] Vladislav Vaintroub [ wlad ]
            wlad Vladislav Vaintroub made changes -
            Priority Critical [ 2 ] Major [ 3 ]

            greenny380, what is the actual problem? Is backup functionality affected in any way?

            wlad Vladislav Vaintroub added a comment - greenny380 , what is the actual problem? Is backup functionality affected in any way?
            wlad Vladislav Vaintroub made changes -
            Labels need_feedback
            julien.fritsch Julien Fritsch made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            wlad Vladislav Vaintroub made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            julien.fritsch Julien Fritsch made changes -
            Labels need_feedback
            serg Sergei Golubchik made changes -
            Assignee Vladislav Vaintroub [ wlad ] Alexander Barkov [ bar ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 101074 ] MariaDB v4 [ 144528 ]
            bar Alexander Barkov made changes -
            Description I am running multi-source slave and trying to backup database with mariabackup.
            mariabackup --compress --open-files-limit=9046 --slave-info --safe-slave-backup --safe-slave-backup-timeout=500 --backup --target-dir /backup/mysqld1/2019-11-12

            But mariabackup does not detects multi-source slave configuration ( i don't have default_master_connection configured, only named connections)

            [00] 2019-11-12 12:02:48 Failed to get master binlog coordinates from SHOW SLAVE STATUS.This means that the server is not a replication slave. Ignoring the --slave-info option

            [00] 2019-11-12 12:02:48 Compressing xtrabackup_binlog_info
            [00] 2019-11-12 12:02:48 ...done
            [00] 2019-11-12 12:02:48 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
            [00] 2019-11-12 12:02:48 mariabackup: The latest check point (for incremental): '587720589969'
            mariabackup: Stopping log copying thread.[00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)

            [00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)
            [00] 2019-11-12 12:02:48 Executing UNLOCK TABLES
            [00] 2019-11-12 12:02:48 All tables unlocked
            I am running multi-source slave and trying to backup database with mariabackup.
            mariabackup --compress --open-files-limit=9046 --slave-info --safe-slave-backup --safe-slave-backup-timeout=500 --backup --target-dir /backup/mysqld1/2019-11-12

            But mariabackup does not detect multi-source slave configuration ( i don't have default_master_connection configured, only named connections)

            [00] 2019-11-12 12:02:48 Failed to get master binlog coordinates from SHOW SLAVE STATUS.This means that the server is not a replication slave. Ignoring the --slave-info option

            [00] 2019-11-12 12:02:48 Compressing xtrabackup_binlog_info
            [00] 2019-11-12 12:02:48 ...done
            [00] 2019-11-12 12:02:48 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
            [00] 2019-11-12 12:02:48 mariabackup: The latest check point (for incremental): '587720589969'
            mariabackup: Stopping log copying thread.[00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)

            [00] 2019-11-12 12:02:48 >> log scanned up to (587723317367)
            [00] 2019-11-12 12:02:48 Executing UNLOCK TABLES
            [00] 2019-11-12 12:02:48 All tables unlocked
            bar Alexander Barkov added a comment - Elkin , please review a patch for this bug. https://github.com/MariaDB/server/commit/b8dc32c9fecd9e9decbfd9bea7682a20bb164dae
            bar Alexander Barkov made changes -
            Assignee Alexander Barkov [ bar ] Andrei Elkin [ elkin ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            bar Alexander Barkov added a comment - Hello Elkin , please review an updated patch: https://github.com/MariaDB/server/commit/40a5962a89139bd081c8e6221158156dd4554128 Thanks.
            bar Alexander Barkov made changes -
            Assignee Andrei Elkin [ elkin ] Alexander Barkov [ bar ]
            bar Alexander Barkov made changes -
            Status In Review [ 10002 ] Stalled [ 10000 ]
            bar Alexander Barkov made changes -
            Fix Version/s 10.2.44 [ 27514 ]
            Fix Version/s 10.3.35 [ 27512 ]
            Fix Version/s 10.4.25 [ 27510 ]
            Fix Version/s 10.5.16 [ 27508 ]
            Fix Version/s 10.6.8 [ 27506 ]
            Fix Version/s 10.7.4 [ 27504 ]
            Fix Version/s 10.8.3 [ 27502 ]
            Fix Version/s 10.3 [ 22126 ]
            bar Alexander Barkov made changes -
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            sysprg Julius Goryavsky made changes -
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 198750 107893

            People

              bar Alexander Barkov
              greenny380 Igor
              Votes:
              1 Vote for this issue
              Watchers:
              7 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.