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(bigquery/storage/managedwriter): address possible deadlocks #8507

Merged
merged 3 commits into from Aug 29, 2023

Conversation

shollyman
Copy link
Contributor

The context refactoring in #8275 introduced two possible sources of deadlocks in the ManagedStream AppendRows call path. This PR addresses those, and augments deadlock testing to cover this case.

Fixes: #8505

The context refactoring in googleapis#8275 introduced two possible sources of
deadlocks in the ManagedStream AppendRows call path.  This PR addresses
those, and augments deadlock testing to cover this case.

Fixes: googleapis#8505
@shollyman shollyman requested review from a team as code owners August 29, 2023 16:40
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the BigQuery API. labels Aug 29, 2023
@shollyman shollyman added the automerge Merge the pull request once unit tests and other checks pass. label Aug 29, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit 48b08bf into googleapis:main Aug 29, 2023
9 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 29, 2023
@shollyman shollyman deleted the deadlock_fixes branch August 29, 2023 18:59
brachipa added a commit to brachipa/google-cloud-go that referenced this pull request Aug 30, 2023
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 BigQuery API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigquery/storage/managedwriter: Potential deadlock on error of ManagedStream in AppendRows
2 participants