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

[WIP] ZStream.groupedWithin works in unexpected way for infinite stream #8686 #8873

Open
wants to merge 1 commit into
base: series/1.x
Choose a base branch
from

Conversation

DenisKusakin
Copy link

/claim #8686
If I understand correctly, the issue could happen when producer is fast, in such cases schedule could be ignored in function aggregateAsyncWithinEither. I think it happens because in this code waitForSchedule.raceWith(waitForProducer) there is no guarantee that waitForSchedule fiber would win race with waitForProducer even if scheduler had already signaled. These issues could also be related:

In this PR before entering the race I just check whether scheduler was fired on the previous iteration
I believe there is a better way to fix

@CLAassistant
Copy link

CLAassistant commented May 18, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

algora-pbc bot commented May 18, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants