Skip to content

PS-10239 feature: Add support for processing GTID_LOG events#73

Merged
percona-ysorokin merged 1 commit intomainfrom
gtid_log_event
Oct 31, 2025
Merged

PS-10239 feature: Add support for processing GTID_LOG events#73
percona-ysorokin merged 1 commit intomainfrom
gtid_log_event

Conversation

@percona-ysorokin
Copy link
Copy Markdown
Collaborator

https://perconadev.atlassian.net/browse/PS-10239

Added new template specializations for 'generic_post_header_impl' and 'generic_body_impl' for 'code_type::gtid_log' ('GTID_LOG' event).

Reworked / generalized 'util::extract_xxx()` series of functions - they now have corresponding "checked" versions that verify whether required number of bytes is available in the input data span and return false otherwise.

Added 'util::extract_packed_int_from_byte_span_checked()' helper function that extracts 'std::uint64_t' integer from its packed network representation (MySQL-specific format).

Added 'binsrv/gtid/common_types.hpp' file with basic typedefs for future GTID structures.

'binsrv::events::flag_type' renamed to 'binsrv::events::common_header_flag_type'.

https://perconadev.atlassian.net/browse/PS-10239

Added new template specializations for 'generic_post_header_impl' and
'generic_body_impl' for 'code_type::gtid_log' ('GTID_LOG' event).

Reworked / generalized 'util::extract_xxx()` series of functions - they now have corresponding
"checked" versions that verify whether required number of bytes is available in the input data
span and return false otherwise.

Added 'util::extract_packed_int_from_byte_span_checked()' helper function that extracts
'std::uint64_t' integer from its packed network representation (MySQL-specific format).

Added 'binsrv/gtid/common_types.hpp' file with basic typedefs for future GTID structures.

'binsrv::events::flag_type' renamed to 'binsrv::events::common_header_flag_type'.
@percona-ysorokin percona-ysorokin merged commit d4ce512 into main Oct 31, 2025
7 checks passed
@percona-ysorokin percona-ysorokin deleted the gtid_log_event branch October 31, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant