-
Notifications
You must be signed in to change notification settings - Fork 1k
fix canal.GetMasterPos() for mariadb #1030
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to add some references to release notes and/or documentation.
This could be made into a function that takes a flavor and version and returns the query string. That would make it easier to add a unit test for this.
@lance6716 thanks for accepting my pull request :) |
@alarbada I assume you've tested with |
I've created #1032 |
Not really, after backporting the fix to my repo I got further problems with the I will add an issue (hopefully a PR) once I figure out exactly why is this happening. |
@alarbada OK, Please let me know once you figured this out. I'll wait with releasing a new version. |
@dveeden as a point of comparison, we're working with MariaDB on PeerDB, & had this fix in our logic already: https://github.com/PeerDB-io/peerdb/blob/84fe9ce286a8c8cc03a6369e4b7ce4b2f7505d1c/flow/connectors/mysql/mysql.go#L305 Link also shows references for versions where language shifted |
Adds support for mariadb for the method
canal.GetMasterPos()
.Fixes #1029