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

distsqlrun: fix double output close in joinReader #14236

Closed
wants to merge 0 commits into from

Conversation

andreimatei
Copy link
Contributor

@andreimatei andreimatei commented Mar 17, 2017

We had a bug when emitHelper() returned false - because the consumer was
closed. A ret val of false means that emitHelper() also closed the
output. But the joinReader was trying to close it again, resulting in a
panic.

Discovered while trying to run the TPCH query from #13989 while killing
a node.


This change is Reviewable

@andreimatei
Copy link
Contributor Author

Will try to add a test so hold off on this a bit.

@asubiotto
Copy link
Contributor

Added a test. This change fixes #14360.

@vivekmenezes
Copy link
Contributor

@asubiotto did you want to close this?

@asubiotto
Copy link
Contributor

No, it was a mistake. I'm waiting on @andreimatei to reopen by re-pushing his commit.

@asubiotto
Copy link
Contributor

The new commit is not being picked up. Created a new PR with the test in #14420

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