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

fix: avoid blocking in download thread when using BQ Storage API #2034

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kien-truong
Copy link

This prevents a deadlock between the main thead and download threads when the threadpool is shutdown prematurely.

Fixes #2032 🦕

@kien-truong kien-truong requested review from a team as code owners September 28, 2024 03:14
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Sep 28, 2024
@Linchin Linchin added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2024
@Linchin Linchin self-assigned this Oct 3, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2024
@Linchin Linchin removed their assignment Oct 8, 2024
@kien-truong
Copy link
Author

Just dropping by to see if there's any concerns about this PR.

This prevents a deadlock between the main thead and download threads
when the threadpool is shutdown prematurely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deadlock due to race condition in download thread when using Bigquery Storage API
5 participants