BigQuery Java Connection API can hang / deadlock if connection is closed without reading all results #2543
Labels
api: bigquery
Issues related to the googleapis/java-bigquery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Thanks for stopping by to let us know something could be better!
If you are still having issues, please include as much information as possible:
Environment details
General, Core, and Other are also allowed as types
Steps to reproduce
Code example
Stack trace (from jstack thread dump)
Can see that the thread is blocked here: https://github.com/googleapis/java-bigquery/blob/main/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/ConnectionImpl.java#L767-L768
Async worker thread that is populating the queue is also blocked (as the queue is full).
The text was updated successfully, but these errors were encountered: