Skip to content

[BEAM-732] Only remove Elements that were pending from Pending Elements#1069

Merged
asfgit merged 1 commit into
apache:masterfrom
tgroh:remove_pending_equality
Oct 11, 2016
Merged

[BEAM-732] Only remove Elements that were pending from Pending Elements#1069
asfgit merged 1 commit into
apache:masterfrom
tgroh:remove_pending_equality

Conversation

@tgroh

@tgroh tgroh commented Oct 7, 2016

Copy link
Copy Markdown
Member

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

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI 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.

Update the comparator so elements will only be removed from the
collection of pending elements if they were formerly added. This ensures
that elements cannot be removed if a timer delivery has an identical
timestamp to them.

Update the comparator so elements will only be removed from the
collection of pending elements if they were formerly added. This ensures
that elements cannot be removed if a timer delivery has an identical
timestamp to them.
@tgroh

tgroh commented Oct 7, 2016

Copy link
Copy Markdown
Member Author

R: @kennknowles

CC: @dhalperi

This should fix the flakyness in jenkins. 2500 runs on my desktop don't reproduce the flake with this change.

@kennknowles

Copy link
Copy Markdown
Member

LGTM pending green

@asfgit asfgit merged commit da57ae8 into apache:master Oct 11, 2016
asfgit pushed a commit that referenced this pull request Oct 11, 2016
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