[MDEV-4946] IO thread should expose its current GTID position Created: 2013-08-26  Updated: 2013-11-25  Resolved: 2013-11-25

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.4
Fix Version/s: 10.0.7

Type: Bug Priority: Major
Reporter: Pavel Ivanov Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None


 Description   

Master_info already has the field gtid_current_pos representing GTID of the last full transaction saved into relay log. It would be extremely useful to have this field exposed e.g. in the result of SHOW SLAVE STATUS.

This information will be useful in failover scenarios. Currently when master dies we can't know which of the slaves has all the latest transactions in their relay log until SQL thread executes all of them. But if Master_info::gtid_current_pos is visible we'll be able to know exactly what transactions each slave has and which GTID position it will be at when SQL thread catches up with all relay log events.



 Comments   
Comment by Kristian Nielsen [ 2013-11-25 ]

Pushed to 10.0-base.

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