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

[BEAM-5197] Guard access to test timer service by a lock #8504

Merged
merged 1 commit into from May 6, 2019

Conversation

mxm
Copy link
Contributor

@mxm mxm commented May 6, 2019

This fixes a NPE in UnboundedSourceWrapperTest#testValueEmission.

The processing timer queue could be concurrently accessed. To prevent this from
happening, we must acquire the checkpoint lock before advancing time.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

This fixes a NPE in UnboundedSourceWrapperTest#testValueEmission.

The processing timer queue could be concurrently accessed. To prevent this from
happening, we must acquire the checkpoint lock before advancing time.
@mxm mxm requested a review from iemejia May 6, 2019 15:01
Copy link
Member

@iemejia iemejia left a comment

Choose a reason for hiding this comment

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

LGTM

@iemejia iemejia merged commit da4a225 into apache:master May 6, 2019
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.

None yet

2 participants