Skip to content

Conversation

@5herhom
Copy link

@5herhom 5herhom commented Oct 25, 2025

Detail: FLINK-38531
Before fixed, it can not pass the newly added case BinlogOffsetTest#testCompareToWithGtidSetAndSkipEventsAndSkipRows and BinlogSplitReaderTest#testRestoreFromCheckpointWithGtidSetAndSkippingEventsAndRows.
Before fixed, the situation of data loss can be reproduced under the the newly added case BinlogSplitReaderTest#testRestoreFromCheckpointWithGtidSetAndSkippingEventsAndRows.

In addition ,I invert the if-else structure in method BinlogOffset#compareTo to reduce the depth of code blocks and optimize code readability.

@5herhom
Copy link
Author

5herhom commented Oct 25, 2025

Please help review this PR. Thank you. @lvyanquan

@5herhom 5herhom force-pushed the fix-loss-data branch 3 times, most recently from 06a70f4 to 355cfb7 Compare October 26, 2025 03:56
… checkpoint positioned in the middle of a bulk DML operation.
@lvyanquan lvyanquan self-assigned this Nov 3, 2025
@leonardBang leonardBang self-requested a review November 4, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants