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 locking and schema updates #6243

Merged
merged 6 commits into from Jun 23, 2022

Conversation

shollyman
Copy link
Contributor

@shollyman shollyman commented Jun 22, 2022

This PR reworks some of the internals of how critical section locking works to ensure that getting the connection and sending the append are encapsulated together. This also adds some concurrent appends in the existing schema evolution integration test to attempt to induce errors related to the change.

Fixes: #6242

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the BigQuery API. labels Jun 22, 2022
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jun 23, 2022
@shollyman shollyman marked this pull request as ready for review June 23, 2022 03:28
@shollyman shollyman requested a review from a team June 23, 2022 03:28
@shollyman shollyman requested a review from a team as a code owner June 23, 2022 03:28
@shollyman shollyman requested a review from yirutang June 23, 2022 03:28
@shollyman shollyman requested review from steffnay and removed request for yirutang June 23, 2022 16:15
@shollyman shollyman enabled auto-merge (squash) June 23, 2022 19:48
@shollyman shollyman merged commit fe264a5 into googleapis:main Jun 23, 2022
@shollyman shollyman deleted the fix-locking branch June 23, 2022 20:00
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: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigquery/storage/managedwriter: multiple appends with updated schema triggers error
3 participants