Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Connection timeouts can't be processed if a query is running. #799

Closed
juanjux opened this issue Aug 9, 2019 · 1 comment
Closed

Connection timeouts can't be processed if a query is running. #799

juanjux opened this issue Aug 9, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@juanjux
Copy link
Contributor

juanjux commented Aug 9, 2019

Connection timeouts from Vitess doesn't trigger, and thus stop the query, is a query is running but not sending anything. This is because query processing and the Handler run on the same thread, so when Vitess detects a timeout the call to CloseConnection can't be processed until the query finishes.

Related to: https://github.com/src-d/gitbase-spark-connector-enterprise/issues/81

@erizocosmico
Copy link
Contributor

Fix to this was already merged at #801

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
2 participants