[MDEV-6120] When slave stops with error, error message should indicate the failing GTID Created: 2014-04-16  Updated: 2014-07-07  Resolved: 2014-06-25

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.10
Fix Version/s: 10.0.13

Type: Bug Priority: Critical
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 1
Labels: gtid, replication


 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.



 Comments   
Comment by Kristian Nielsen [ 2014-06-19 ]

Patch: http://lists.askmonty.org/pipermail/commits/2014-June/006229.html

Comment by Kristian Nielsen [ 2014-06-25 ]

Pushed to 10.0

Generated at Thu Feb 08 07:09:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.