-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bigquery): avoid double-channel-close during context cancellation (…
…#7467) EnableWriteRetries exposes an issue with finalizing a pending write. The appendWithRetry function incorrectly marks a pending write done in certain situations (context cancellations), when responsibility is held by it's callers. PR adds fix and a test that exercises the failure condition. Fixes: https://togithub.com/googleapis/google-cloud-go/issues/7380
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters