[
https://issues.apache.org/jira/browse/FLINK-39372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120512#comment-18120512
]
Xiqian Yu commented on FLINK-39372:
-----------------------------------
Merged into master via 23e23d6525394f8efff0761c8ba82e031425ce5f.
> Potential MySQL Binlog offset comparison failure after mysql-bin.999999
> -----------------------------------------------------------------------
>
> Key: FLINK-39372
> URL: https://issues.apache.org/jira/browse/FLINK-39372
> Project: Flink
> Issue Type: Improvement
> Components: Flink CDC
> Affects Versions: cdc-3.6.0
> Reporter: Xiqian Yu
> Assignee: Xiqian Yu
> Priority: Major
> Labels: pull-request-available
> Fix For: cdc-3.7.0
>
>
> MySQL CDC uses Java's String.compareTo() for comparing Binlog filenames. This
> works correctly for files like mysql.000001 through mysql.999999 since they
> share the same length.
> However, when the sequence rolls over to mysql.1000000, string comparison
> breaks — it treats '1' < '9' and incorrectly considers mysql.1000000 smaller
> than mysql.999999.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)