Commit 1fb0e64
authored
fix(bigquery/storage/managedwriter): faster context failure on send (#10169)
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: https://togithub.com/googleapis/google-cloud-go/issues/101281 parent a495f8f commit 1fb0e64
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
372 | 377 | | |
373 | 378 | | |
374 | 379 | | |
| |||
0 commit comments