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

Fix race condition in GroupedWithin #4555

Merged

Conversation

Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Aug 24, 2020

OnTimer may close the group just before OnUpstreamFinish is called (race condition), dropping the last element in the stream.
Fix is done by forcing a check inside OnUpstreamFinished for a dangling last element.

close #4514

@Aaronontheweb Aaronontheweb merged commit 2064fbd into akkadotnet:dev Aug 25, 2020
@Arkatufus Arkatufus deleted the #4514_Fix_GroupedWithin_race_condition branch March 8, 2021 13:30
@Arkatufus Arkatufus restored the #4514_Fix_GroupedWithin_race_condition branch April 22, 2022 15:35
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.

GroupedWithin method lose items in flow
2 participants