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

Slave transaction retry on temporary error leaves dangling error in SHOW SLAVE STATUS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.5
    • Fix Version/s: 10.0.6
    • Component/s: None
    • Labels:

      Description

      When a temporary error is encountered on the slave (like deadlock), the
      transaction is retried.

      But one of the patches for MDEV-4506, parallel replication, broke this. The
      transaction is still retried, but the error is not cleared from SHOW SLAVE
      STATUS, which can cause problems later.

      There is a test case rpl_temporary_errors that is supposed to test this and
      catch any regressions, but that test is broken by some old 2007 idempotency
      stuff and does not actually test anything, which allowed this to slip through.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              knielsen Kristian Nielsen added a comment -

              Pushed to 10.0-base.

              Show
              knielsen Kristian Nielsen added a comment - Pushed to 10.0-base.

                People

                • Assignee:
                  knielsen Kristian Nielsen
                  Reporter:
                  knielsen Kristian Nielsen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: