Title: Deadlock due to race condition in download thread when using Bigquery Storage API · Issue #2032 · googleapis/python-bigquery · GitHub
Open Graph Title: Deadlock due to race condition in download thread when using Bigquery Storage API · Issue #2032 · googleapis/python-bigquery
X Title: Deadlock due to race condition in download thread when using Bigquery Storage API · Issue #2032 · googleapis/python-bigquery
Description: There is a race condition in the download thread and the main thread when using Bigquery Storage API to fetch data. python-bigquery/google/cloud/bigquery/_pandas_helpers.py Lines 797 to 801 in a76af35 for page in rowstream.pages: if down...
Open Graph Description: There is a race condition in the download thread and the main thread when using Bigquery Storage API to fetch data. python-bigquery/google/cloud/bigquery/_pandas_helpers.py Lines 797 to 801 in a76a...
X Description: There is a race condition in the download thread and the main thread when using Bigquery Storage API to fetch data. python-bigquery/google/cloud/bigquery/_pandas_helpers.py Lines 797 to 801 in a76a...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/2032
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deadlock due to race condition in download thread when using Bigquery Storage API","articleBody":"There is a race condition in the download thread and the main thread when using Bigquery Storage API to fetch data.\r\n\r\nhttps://github.com/googleapis/python-bigquery/blob/a76af359525ef3c49c958663f81fd24c9d35e1e7/google/cloud/bigquery/_pandas_helpers.py#L797-L801\r\n\r\nhttps://github.com/googleapis/python-bigquery/blob/a76af359525ef3c49c958663f81fd24c9d35e1e7/google/cloud/bigquery/_pandas_helpers.py#L934-L942\r\n\r\nWhen the download thread is blocked on `worker_queue.put(item)`, if the main thread exit, causing the pool to shut down, the download thread will be stuck. This behavior prevents the program from exiting.","author":{"url":"https://github.com/kien-truong","@type":"Person","name":"kien-truong"},"datePublished":"2024-09-26T02:38:33Z","url":"https://github.com/googleapis/python-bigquery/issues/2032"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f75c1f5-5317-391d-c02d-418bddfe3a01 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CEE:59087:2368A:2E7BF:6AFE8AAE |
| html-safe-nonce | 6989c9e7b41a0216876938088b13d4bcaef763fe9a44f4281675e93eeb325eef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0VFOjU5MDg3OjIzNjhBOjJFN0JGOjZBRkU4QUFFIiwidmlzaXRvcl9pZCI6IjcxMjA5OTY3MDU1ODI4NzczNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 79aa79a8fedc593c2270632c6cf8499e5cb77744b4e83f10dfd6290adb53a2dd |
| hovercard-subject-tag | issue:2549352058 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-bigquery/2032/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc088459135d04794e082958c540259b1ffb1cb11da8b433ee5ff6b510e162e6/googleapis/python-bigquery/issues/2032 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc088459135d04794e082958c540259b1ffb1cb11da8b433ee5ff6b510e162e6/googleapis/python-bigquery/issues/2032 |
| og:image:alt | There is a race condition in the download thread and the main thread when using Bigquery Storage API to fetch data. python-bigquery/google/cloud/bigquery/_pandas_helpers.py Lines 797 to 801 in a76a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kien-truong |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width