-
Notifications
You must be signed in to change notification settings - Fork 2k
[FLINK-37503] Compatibility Issue with MySQL Syntax SHOW MASTER STATUS #3955
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
base: master
Are you sure you want to change the base?
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.
Thanks for @wolfboys's nice work! Just left some minor comments.
...or-mysql-cdc/src/main/java/org/apache/flink/cdc/connectors/mysql/debezium/DebeziumUtils.java
Outdated
Show resolved
Hide resolved
docs/content.zh/docs/faq/faq.md
Outdated
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.
MySQL 8.4+ support would be great, but validation is still required. Shall we parameterize MySQL UT & E2e test cases with multiple LTS versions (including 5.7, 8.0, 8.4), just like MongoDB CDC?
Users can check Binlog_Ignore_DB and Binlog_Do_DB through the `show master status` or `` command | ||
|
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.
Or `` ? There seems to be a lack of concrete content.
@@ -62,6 +65,8 @@ public class DebeziumUtils { | |||
|
|||
private static final Logger LOG = LoggerFactory.getLogger(DebeziumUtils.class); | |||
|
|||
private static String showMasterStmt = null; |
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.
Why use 'static String'?Is there a special situation for this use?
[FLINK-37503] Compatibility Issue with MySQL Syntax SHOW MASTER STATUS
In newer versions of MySQL, the
SHOW MASTER STATUS
syntax has been deprecated and replaced with show binary log status. Since this syntax is used in MySQL CDC, compatibility adjustments are required.