[MDEV-5671] Add Table_metadata event Created: 2014-02-13  Updated: 2019-06-07

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Kolbe Kegel (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: replication

Issue Links:
Relates
relates to MDEV-19708 RBR replication loses data silently i... Stalled

 Description   

The existing TABLE_MAP_EVENT row-based event lacks enough detail to determine column names and signedness of integer fields.

Davi Arnaut has created a new kind of event called "Table_metadata", which includes that information: https://github.com/twitter/mysql/commit/19b251446

I propose that this functionality or similar functionality be added to MariaDB.



 Comments   
Comment by Sergei Golubchik [ 2014-04-17 ]

Either that patch (that I didn't look at yet) or a different implementation. But it needs to be future-proof, we should be able to add any metadata we want to this event at any time without breaking binlog compatibility.

Table_map_log_event already stores field metadata internally, but I don't see how we can use that without making binlog incompatible. This is an example of not future-proof implementation.

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