storage: storage.(*Writer).Write() with cancelled context causes write race #6816
Labels
api: storage
Issues related to the Cloud Storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
Google Cloud Storage
Code
run the following test with
-race
enabledExpected behavior
Either
Write
orClose
fails withcontext.Cancelled
Actual behavior
Additional context
e.g. Started after upgrading to v1.26.0.
The text was updated successfully, but these errors were encountered: