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

IO Thread Reports False Error When Stopped During Connecting to Primary

Details

    Description

      If quickly running

      start slave io_thread;
      stop slave io_thread;
      

      and the IO thread is stopped during its "handshake" with the primary (i.e during safe_connect() or get_master_version_and_clock()), it will report IO Errno: 2013 in SHOW SLAVE STATUS.

      However, this isn't actually an error, as the user aborted the IO thread. The code should be updated to not report an error when the connection is killed due to user intervention.

      Attachments

        Activity

          serg Sergei Golubchik added a comment - https://github.com/MariaDB/server/pull/2963/

          Hi Elkin and knielsen!

          This is ready for review: PR-3323. It is pretty small. Note too it is also the cause of some ongoing test failures.

          bnestere Brandon Nesterenko added a comment - Hi Elkin and knielsen ! This is ready for review: PR-3323 . It is pretty small. Note too it is also the cause of some ongoing test failures.

          Pushed into 10.5 as 744580d5a74

          No merge conflicts observed in manual cherry-picking to 11.5.

          bnestere Brandon Nesterenko added a comment - Pushed into 10.5 as 744580d5a74 No merge conflicts observed in manual cherry-picking to 11.5.

          People

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