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: remove redundant Close() #14103

Merged
merged 1 commit into from
Mar 13, 2017

Conversation

vivekmenezes
Copy link
Contributor

@vivekmenezes vivekmenezes commented Mar 13, 2017

Close() is already called when timedOut is set.

fixes #13989


This change is Reviewable

Close() is already called when timedOut is set.

fixes cockroachdb#13989
@tamird
Copy link
Contributor

tamird commented Mar 13, 2017

Needs a test.

@vivekmenezes
Copy link
Contributor Author

I don't think this needs a test.

@RaduBerinde
Copy link
Member

LGTM, thanks for fixing!

@vivekmenezes vivekmenezes merged commit 4339ccc into cockroachdb:master Mar 13, 2017
@vivekmenezes vivekmenezes deleted the close branch March 13, 2017 14:32
@andreimatei
Copy link
Contributor

This needed a test because the bug made apparent that we don't have any tests exercising a stream connection timeout. Sent out #14132.


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@vivekmenezes
Copy link
Contributor Author

vivekmenezes commented Mar 15, 2017 via email

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.

distsql: tpch query 7 results in context cancelled error
4 participants