Skip to content

Conversation

@bjchambers
Copy link
Contributor

Previously, Repeatedly#onFire only cleared the finished bits associated
with the root of the sub-tree, as demonstrated by the new unit tests.

This led to problems with AfterFirst#shouldFire, which checked to see if
any of the sub-triggers have their finished bits set.

Now, Repeatedly#onFire calls #resetTree, which clears all the finished
bits in the entire sub-tree.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI for on your fork and ensure the whole test matrix passes).
  • Replace "<Jira issue #>" in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

Previously, Repeatedly#onFire only cleared the finished bits associated
with the root of the sub-tree, as demonstrated by the new unit tests.

This led to problems with AfterFirst#shouldFire, which checked to see if
any of the sub-triggers have their finished bits set.

Now, Repeatedly#onFire calls #resetTree, which clears all the finished
bits in the entire sub-tree.
@bjchambers
Copy link
Contributor Author

R: @kennknowles @mshields822

@kennknowles
Copy link
Member

LGTM. Merging.

@asfgit asfgit merged commit 2ad027f into apache:master Apr 1, 2016
asfgit pushed a commit that referenced this pull request Apr 1, 2016
kennknowles added a commit to GoogleCloudPlatform/DataflowJavaSDK that referenced this pull request Apr 1, 2016
@bjchambers bjchambers deleted the repeatedly-after-first branch November 21, 2016 21:42
iemejia referenced this pull request in iemejia/beam Jan 12, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
kennknowles pushed a commit to kennknowles/beam that referenced this pull request Jun 1, 2018
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
becketqin pushed a commit to becketqin/beam that referenced this pull request Feb 8, 2024
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.

3 participants