Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for binlog primary protocol #320

Merged
merged 5 commits into from Mar 25, 2024
Merged

Conversation

fulghum
Copy link

@fulghum fulghum commented Mar 13, 2024

  • Porting over more code from vitess.io/vitess – support for the COM_REGISTER_REPLICA command.
  • Fixing a bug in Vitess' deserialization of the COM_BINLOG_DUMP_GTID command.
  • Adding some String functions to help with debugging.
  • Exposing the ability to flush a connection's buffer, as a short-term workaround for needing to flush the buffer more frequently than at the end of the connection in order to support `COM_BINLOG_DUMP_GTID'.

@fulghum fulghum force-pushed the fulghum/com_binlog_prototype branch from 745dda0 to 05a7b47 Compare March 13, 2024 20:14
@fulghum fulghum marked this pull request as ready for review March 14, 2024 18:22
@fulghum fulghum requested a review from zachmu as a code owner March 14, 2024 18:22
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

go/mysql/binlog_dump.go Outdated Show resolved Hide resolved
go/mysql/register-replica.go Show resolved Hide resolved
… exposing a function to flush a connection's buffer, adding constructor functions for more MySQL binlog event types, and fixing incorrect deserialization code.
@fulghum fulghum changed the title Port: Support for COM_REGISTER_REPLICA Updates for binlog primary protocol Mar 25, 2024
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fulghum fulghum merged commit 65f4774 into main Mar 25, 2024
4 checks passed
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.

None yet

2 participants