Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Backport apache/incubator-beam#110#174

Merged
kennknowles merged 1 commit intoGoogleCloudPlatform:masterfrom
kennknowles:backport-110
Apr 1, 2016
Merged

Backport apache/incubator-beam#110#174
kennknowles merged 1 commit intoGoogleCloudPlatform:masterfrom
kennknowles:backport-110

Conversation

@kennknowles
Copy link
Copy Markdown
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.

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.
@kennknowles kennknowles merged commit 6585f2c into GoogleCloudPlatform:master Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants