This is a follow-up for MySQL GTID tags and binlog events, but you don’t need to read that first.
One of the recent innovations in MySQL was the addition of Tagged
GTID’s. These tagged GTID’s take the format of
<uuid>:<tag>:<transaction_id>
.
And this change means that the GTID_LOG_EVENT
’s in
the binary logs needed to be changed. The MySQL team at Oracle
decided to not change the existing format, but introduce a new
event: GTID_TAGGED_LOG_EVENT
.
Initially I assumed that decoding the new event would me mostly identical to the original event, but with just a single field added. But this isn’t the case as Oracle MySQL deciced to use a new serialization format (Yes, more innovation) and use it for this new event. The new serialization format is documented …
[Read more]