[MDEV-15170] Implement SESSION_TRACK_GTIDS Created: 2018-02-01  Updated: 2020-07-14  Resolved: 2018-02-06

Status: Closed
Project: MariaDB Server
Component/s: Server
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: markus makela Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-15082 Last generated GTID should be returne... Closed
is duplicated by MDEV-11956 Get last_gtid in OK packet. Closed
Relates
relates to MDEV-23168 Implement SESSION_TRACK_GTIDS exactly Stalled

 Description   

The session tracking mechanism of MySQL has a type called SESSION_TRACK_GTIDS. This type contains the latest GTID event generated by the session.

The documentation on the protocol level implementation appears to be relatively sparse but this page describes some details. The source code of the MySQL C connector appears to show that the event consists of two length-encoded integers (total length of the changed entity and GTID encoding specification code) followed by a length-encoded string. Implementing the same layout would retain connector compatibility.

The end-user configuration can probably follow the MySQL implementation found here.


Generated at Thu Feb 08 08:19:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.