HackerTrans
トップ新着トレンドコメント過去質問紹介求人

marceloaltmann

no profile record

投稿

Reverse-engineering MySQL 8.4's GTID_TAGGED_LOG_EVENT

readyset.io
1 ポイント·投稿者 marceloaltmann·2 か月前·1 コメント

Replication Internals: Decoding the MySQL Binary Log – How DML Are Replicated?

readyset.io
3 ポイント·投稿者 marceloaltmann·3 か月前·0 コメント

Decoding the MySQL Binary Log: Table_map_event – Table Metadata for RBR

readyset.io
2 ポイント·投稿者 marceloaltmann·3 か月前·0 コメント

MySQL foreign key cascade operations finally hit the binary log

readyset.io
35 ポイント·投稿者 marceloaltmann·5 か月前·26 コメント

コメント

marceloaltmann
·2 か月前·議論
Author here. Part 11 of a long series — if this is your first one, part 1 [1] has the setup, and part 5 [2] covers the original GTID_LOG_EVENT which is the natural thing to compare this against. Honestly, the tagged-GTID feature itself is the less interesting half of this event for me. What caught my attention while researching and writing it is that it's the first binlog event using MySQL's new mysql::serialization framework — a TLV format with field IDs and variants, where optional fields are just absent on the wire and older decoders skip unknown fields by ID. Everything before this was fixed layout (see [2]), so it feels like MySQL is quietly laying groundwork to evolve the binlog format without breaking downstream consumers. Tagged GTIDs are kind of the excuse to ship it.

[1] https://readyset.io/blog/mysql-binary-log-internals-part-1 [2] https://readyset.io/blog/replication-internals-decoding-the-...