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

Race condition in starting multi-source replication slaves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0.1
    • 10.0.2
    • None
    • None
    • Linux

    Description

      Doing start all slaves on an instance that has multi-source replication has produced the following error

      130408 4:48:22 [ERROR] Master 'clients': Slave SQL: Unable to use slave's temporary directory /mysql_tmp - Can't create/write to file '/mysql_tmp/SQL_LOAD-' (Errcode: 17 "File exists"), Error_code: 1

      Out of the four slaves three of them started, the error was given by the fourth one and slave remains down. I was able to bring it up later with set @@default_master_connection="xxxxx"

      It seems all the slave threads from a single instance (multi-source replication) are all trying to use /mysql_tmp/SQL_LOAD-

      Attachments

        Activity

          People

            Unassigned Unassigned
            dyan Daisy Yan
            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.