Skip to content

Changing vtctl and vtworker remote API to also return an error.#883

Merged
alainjobart merged 2 commits intovitessio:masterfrom
alainjobart:resharding
Jul 15, 2015
Merged

Changing vtctl and vtworker remote API to also return an error.#883
alainjobart merged 2 commits intovitessio:masterfrom
alainjobart:resharding

Conversation

@alainjobart
Copy link
Copy Markdown
Contributor

that way we don't depend on calling errFunc() before it actually should be called.

@michael-berlin @enisoc

that way we don't depend on calling errFunc() *before* it actually should be called.
@enisoc
Copy link
Copy Markdown
Member

enisoc commented Jul 15, 2015

LGTM

alainjobart added a commit that referenced this pull request Jul 15, 2015
Changing vtctl and vtworker remote API to also return an error.
@alainjobart alainjobart merged commit 74be38d into vitessio:master Jul 15, 2015
rsajwani pushed a commit to planetscale/vitess that referenced this pull request Aug 1, 2022
Not closing the body leads to leaking goroutines for the reader / writer
of the body.

Found when validating that tests don't leak goroutines (to ensure other
things get closed properly, but these cases where also found).

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
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.

2 participants