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): faster context failure on send #10169

Merged
merged 4 commits into from
May 21, 2024

Conversation

shollyman
Copy link
Contributor

This is a minor PR that accelerates the failure loop for context expiration cases. Previously, the connection abstraction would deal with expired context on the receiver side, and this change simply checks context before allowing a new append to succeed.

Tests already existed that exhibited this behavior, but were timing dependent and masked the issue (the receiver would close the connection fast enough).

Fixes: #10128

This is a minor PR that accelerates the failure loop for context
expiration cases.  Previously, the connection abstraction would
deal with expired context on the receiver side, and this change
simply checks context before allowing a new append to succeed.

Tests already existed that exhibited this behavior, but were timing
dependent and masked the issue (the receiver would close the connection
fast enough).

Fixes: googleapis#10128
@shollyman shollyman requested review from a team as code owners May 14, 2024 16:13
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label May 14, 2024
@shollyman shollyman added the automerge Merge the pull request once unit tests and other checks pass. label May 21, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 1fb0e64 into googleapis:main May 21, 2024
8 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 May 21, 2024
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigquery/storage/managedwriter: TestIntegration_MingledContexts failed
2 participants