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

Migrate a slave from MySQL 5.6 to MariaDB 10 break replication

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.0.12
    • 10.0.13
    • None
    • Ubuntu 12.04.4 LTS
      Percona Server 5.6.16
      MariaDB 10.0.12

    Description

      When migrate a slave from Percona server 5.6.16 to MariaDB 10.0.12 this error occurs when replication start :

      140618 17:27:57 [ERROR] Failed to open the relay log '7' (relay_log_pos 0)
      140618 17:27:57 [ERROR] Could not find target log during relay log initialization
      140618 17:27:57 [ERROR] Failed to initialize the master info structure
      140618 17:27:57 [ERROR] Failed to allocate memory for the Master Info structure

      Here is an example of the relay-log.info file :

      7
      relay-bin.005602
      253314865
      mysql-bin.002783
      253314702
      0
      0
      1
      1

      Workaround :

      • Stop replication
      • Stop MySQL server
      • Delete the first line of the relay-log.info file (7)
      • Start MySQL and replication

      Attachments

        Activity

          CEPE Cédric PEINTRE created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Assignee Elena Stepanova [ elenst ]
          elenst Elena Stepanova made changes -
          Fix Version/s 10.0.13 [ 16000 ]
          Assignee Elena Stepanova [ elenst ] Kristian Nielsen [ knielsen ]
          knielsen Kristian Nielsen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          knielsen Kristian Nielsen made changes -
          Fix Version/s 10.0.13 [ 16300 ]
          Fix Version/s 10.0 [ 16000 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 47701 ] MariaDB v3 [ 64517 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 64517 ] MariaDB v4 [ 147979 ]

          People

            knielsen Kristian Nielsen
            CEPE Cédric PEINTRE
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.