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

CLONE - Unable to load replication GTID slave state from mysql.gtid_slave_pos: Table 'mysql.gtid_slave_pos' doesn't exist in engine

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 10.0.31
    • N/A
    • Replication
    • CentOS 6.2/6.3 and Ubuntu 16.04 LTS

    Description

      I have the same issue as the original issue, maybe I can help providing debug information

      My current setup is with a master is MariaDB version 5.5.58 on a CentOS 6.2 and a slave MariaDB version 5.5.58 on a CentOS 6.3

      I installed a new MariaDB version 10.0.31 on a Ubuntu 16.04 LTS. Stopped the old slave and copied the datadir to the new server. After I did a `mysql_upgrade` I could start mysql. When I start the slave, it is starting to replicate.
      But when I check `show slave status\G` I see the Last_Error saying "Unable to load replication GTID slave state from mysql.gtid_slave_pos: Table 'mysql.gtid_slave_pos' doesn't exist" and Last_Errno 1146

      The mysql.gtid_slave_pos table exist on the new slave. If I try to create the table on the master matching the table on the slave does not do any change

      ---------------------------------------------------------------------------------------------------------------------
      Description from original issue:On a fresh (if I remember well) install of MariaDB on Debian, as a replication slave, I'm getting, in "show slave status":

      Last_SQL_Error: Unable to load replication GTID slave state from mysql.gtid_slave_pos: Table 'mysql.gtid_slave_pos' doesn't exist in engine

      So I tried a `mysql_upgrad` which told me to try --force as it looked already up to date, legit, so I tried --force, which gave:

      mysql.gtid_slave_pos
      Error : Table 'mysql.gtid_slave_pos' doesn't exist in engine
      status : Operation failed

      Don't know what to do from now, I expected to mysql_upgrade to fix it þ

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thorsen Søren Thorsen
              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.