[MDEV-5130] More precise binlog position reporting for IO thread when reconnecting with GTID Created: 2013-10-11  Updated: 2013-10-11  Resolved: 2013-10-11

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

Type: Bug Priority: Minor
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None


 Description   

As reported by Pavel Ivanov:

https://lists.launchpad.net/maria-developers/msg06216.html
https://lists.launchpad.net/maria-developers/msg06246.html

The scenario is that IO thread is using GTID to find the starting position
when connecting to the master. In case of re-connect in the middle of an event
group, the IO thread needs to skip already received events following the GTID
event of the reconnect starting position.

The bug is that when reconnect happens at the end of an event group, the IO
thread actually re-connects from the start of that event group, even though it
could start from the next event group. This does not cause wrong behaviour
(the event group is fetched and skipped as it should), however it causes
reporting of GTID position in error log and old-style positions read from teh
relay log to be a bit off, which could be confusing to users.


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