Skip to content

Conversation

@aiborodin
Copy link
Contributor

@aiborodin aiborodin commented Nov 6, 2025

This PR addresses the issue in #14425 by validating that no concurrent commit has moved the flink.max-committed-checkpoint-id in DynamicIcebergSink that would not be seen by the committer due to the table refreshing during the commit process.

@aiborodin
Copy link
Contributor Author

@pvary, I updated this PR with the new API that was recently merged.

@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch 2 times, most recently from 4be7dd5 to 46b70e5 Compare November 11, 2025 04:20
Copy link
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

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

Good catch @aiborodin!

@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch from 46b70e5 to be867b5 Compare November 12, 2025 02:58
@pvary
Copy link
Contributor

pvary commented Nov 12, 2025

When this is fixed, it would be good to fix this in the non-dynamic sink too.

Copy link
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

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

LGTM

@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch from be867b5 to 6419219 Compare November 13, 2025 07:16
@aiborodin
Copy link
Contributor Author

When this is fixed, it would be good to fix this in the non-dynamic sink too.

Sounds good, I will raise a PR for the regular sink.

@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch from 6419219 to 279d707 Compare November 18, 2025 08:03
@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch 3 times, most recently from f126e52 to 1fbacd3 Compare November 18, 2025 11:37
Change-Id: I9df6d982ce7b32621a966bf68b1f43cb7c85c4e7
@aiborodin aiborodin force-pushed the fix-commit-duplication-in-flink branch from 1fbacd3 to 87e86a8 Compare November 19, 2025 04:43
@pvary pvary merged commit 2fe4495 into apache:main Nov 19, 2025
20 checks passed
@pvary
Copy link
Contributor

pvary commented Nov 19, 2025

Merged to main.
Thanks for the fix @aiborodin and @mxm for the review!

@aiborodin
Copy link
Contributor Author

Thank you for the review, @pvary and @mxm!
I raised this PR to port the feature to Flink 2.0 and 2.1: #14637.
I would appreciate it if you could take a look.

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.

3 participants