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

Non-GTID replica thread fails assertion(s) if started after CHANGE MASTER failed with ER_UNKNOWN_TARGET_BINLOG

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.11.17
    • 10.11
    • Replication
    • None

    Description

      The test for MDEV-25284 may have passed because START SLAVE deletes the relay log in GTID mode, which is Issue MDEV-4698.
      This test fails in MDEV-4698’s build or when non-GTID mode bypasses this limitation.

      Test

      --- a/mysql-test/suite/rpl/t/rpl_change_master_find_log_pos_err.test
      +++ b/mysql-test/suite/rpl/t/rpl_change_master_find_log_pos_err.test
      @@ -30,7 +30,7 @@
       --source include/stop_slave.inc
       SET @@debug_dbug="d,simulate_find_log_pos_error";
       error 1373;
      -CHANGE MASTER TO IGNORE_DOMAIN_IDS=(1), MASTER_USE_GTID=SLAVE_POS;
      +CHANGE MASTER TO MASTER_USE_GTID=NO;
       SET @@debug_dbug="";
       --source include/start_slave.inc
      

      Result

      sql/log.cc:2828: int check_binlog_magic(IO_CACHE*, const char**): Assertion `my_b_tell(log) == 0' failed.
      ...
      in check_binlog_magic at sql/log.cc:2828
      in init_relay_log_pos at sql/rpl_rli.cc:716
      in handle_slave_sql at sql/slave.cc:5620
      

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              ParadoxV5 Jimmy Hú
              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.