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

When slave stops with error, error message should indicate the failing GTID

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.0.10
    • Fix Version/s: 10.0.13
    • Component/s: None
    • Labels:

      Description

      When replication stops due to an error, the error message in SHOW SLAVE STATUS
      and in the error log really needs to show the GTID (if any) of the transaction
      that failed.

      This for example is very useful if there is a need to skip that transaction
      (by setting @@gtid_slave_pos).

      The information is not all that trivial to find currently. One would need to
      look into the mysqlbinlog output from the original binlog, and even that is
      not foolproof in case of eg. parallel replication.

      It would also be very useful to have a column in SHOW SLAVE STATUS that shows
      the GTID of any executing transaction.

        Gliffy Diagrams

          Attachments

            Activity

            Show
            knielsen Kristian Nielsen added a comment - Patch: http://lists.askmonty.org/pipermail/commits/2014-June/006229.html
            Hide
            knielsen Kristian Nielsen added a comment -

            Pushed to 10.0

            Show
            knielsen Kristian Nielsen added a comment - Pushed to 10.0

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: