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(stream): Stop produceKVs on error #1604

Merged
merged 1 commit into from
Nov 25, 2020
Merged

Conversation

jarifibrahim
Copy link
Contributor

@jarifibrahim jarifibrahim commented Nov 25, 2020

The orchestrate function would get blocked forever if send function returned an error.
The produceKv go routines would also get blocked since the size of the error chan was 1.


This change is Reviewable

@jarifibrahim jarifibrahim merged commit f36daf5 into master Nov 25, 2020
@jarifibrahim jarifibrahim deleted the ibrahim/stream-stop branch November 25, 2020 12:01
mYmNeo added a commit to mYmNeo/badger that referenced this pull request Jan 17, 2023
mYmNeo added a commit to mYmNeo/badger that referenced this pull request Feb 13, 2023
mYmNeo added a commit to mYmNeo/badger that referenced this pull request Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants