Skip to content

Conversation

zhjwpku
Copy link
Contributor

@zhjwpku zhjwpku commented Nov 1, 2021

the isAtOrBefore & isBefore was actually meaning
isAtOrAfter & isAfter, so let's do this right ;)

Signed-off-by: Zhao Junwang [email protected]

@zhjwpku zhjwpku changed the title [MySqlCDC] polish binlog offset compare semantic [mysql] polish binlog offset compare semantic Nov 1, 2021
Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zhjwpku for the contribution, I left one comment

元组 added 2 commits November 2, 2021 18:35
the `isAtOrBefore & isBefore` was actually meaning
`isAtOrAfter & isAfter`, so let's do this right ;)

Signed-off-by: Zhao Junwang <[email protected]>
1. HighWatermark itself should not be emitted
2. If the highWatermark equals maxHighWatermark, tableIdBinlogPositionMap doesn't need to change
3. change `compareTo < 0` to the more understandable isBefore

Signed-off-by: Zhao Junwang <[email protected]>
@zhjwpku zhjwpku requested a review from leonardBang November 2, 2021 10:52
@leonardBang leonardBang merged commit e7ed77f into apache:master Nov 4, 2021
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants