Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flink] Flush buffer during drain operation for requiresStableInput operator #29102

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

kkdoon
Copy link
Contributor

@kkdoon kkdoon commented Oct 21, 2023

Currently, drain operation does not work for flink pipelines when RequiresStableInput annotation is used. This is caused by buffered data not being processed before the final checkpoint operation that causes watermark hold related exception. This PR addresses this issue by processing the buffer before the final checkpoint completes. More context in #28554.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@kkdoon
Copy link
Contributor Author

kkdoon commented Oct 22, 2023

R: @je-ik I have addressed the comments.

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@je-ik
Copy link
Contributor

je-ik commented Oct 23, 2023

Can you please mention the issue in the commit message? You can see other commit messages for reference. I'll merge this right after that. Thanks a lot!

@je-ik je-ik self-requested a review October 23, 2023 06:54
Copy link
Contributor

@je-ik je-ik left a comment

Choose a reason for hiding this comment

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

LGTM in general, we need to polish the generated website and the commit message. Thanks!

@kkdoon kkdoon force-pushed the flink-stable-input-drain-bug2 branch from e35eebe to 1a27d2c Compare October 23, 2023 07:51
@kkdoon
Copy link
Contributor Author

kkdoon commented Oct 23, 2023

LGTM in general, we need to polish the generated website and the commit message. Thanks!

could you check if it looks ok now? Thanks!

@je-ik
Copy link
Contributor

je-ik commented Oct 24, 2023

Closes #28554.

@je-ik je-ik merged commit bf5ded4 into apache:master Oct 24, 2023
24 checks passed
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