proletarians opened a new pull request, #4091: URL: https://github.com/apache/flink-cdc/pull/4091
The `compareTo` method in `BinlogOffset` would throw a NullPointerException if the filename field was null. This could happen in scenarios like reading from the latest offset where the initial offset might not have a filename. This commit updates the comparison logic to safely handle null filenames.A new test, `testReadBinlogWithoutGtidFromLatestOffset`, is also introduced to cover this specific case and verify the solution. -- 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]
