DanielLeens commented on issue #13371: URL: https://github.com/apache/seatunnel/issues/13371#issuecomment-7041955561
Classification: A / Connector-V2 MySQL-compatible CDC binlog enumeration. Thanks for reducing this to command selection. Current `dev` derives the file-listing statement from `binaryLogStatusStatement()` in both `earliestBinlogOffset()` and `findBinlogOffsetBytimestamp()`. When the status statement is `SHOW MASTER STATUS`, both helpers select `SHOW MASTER LOGS`, so the report correctly identifies two affected startup paths. Please cover both helpers. They are shared MySQL-CDC utility code, however, so an unconditional replacement or an undocumented OceanBase special case would also change the behavior of other MySQL-compatible deployments. The PR should make the selection rule explicit at the appropriate connector/dialect boundary, keep existing MySQL behavior covered, and prove that timestamp and earliest startup both issue the expected listing command. The JDBC command-selection fixture and the normal MySQL regressions are necessary, but they are not sufficient to establish OceanBase compatibility. Before merge, please add or run a focused OceanBase Binlog Service validation for the two startup modes, including the resulting offset/read path. No existing PR is linked to this report, so a focused implementation PR is welcome once that scope is documented. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
