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

Orphan files left after failed relay log initialization (multi-source replication)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6
    • 10.4, 10.5, 10.6
    • Replication
    • None

    Description

      --source include/master-slave.inc
      --connection slave
       
      CALL mtr.add_suppression("Failed to open the relay log './no_such_log' \\(relay_log_pos 4\\)");
      CALL mtr.add_suppression("Could not find target log during relay log initialization");
       
      --error ER_RELAY_LOG_INIT
      change master 'm2' to relay_log_file='no_such_log';
       
      # error is expected, but files like master-m2.info, relay-log-m2.info are created and will exist in datadir. reset slave will not work, as there is no slave 'm2'.
       
      #fails because of "Failed to open the relay log './some_log' "
      --error 1201
      change master 'm2' to  master_user='root';
       
      --source include/rpl_end.inc
      

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.