Skip to content

Streaming uploads with unrecoverable PUT errors should not be finalized #6779

@coryan

Description

@coryan

Consider a resumable upload that starts successfully, but one of its PUT requests fails with an unrecoverable error.

Reportedly, the upload Close() function is called by the destructor, and finalizes the upload, creating an object with invalid data. An unrecoverable error should set the streaming upload to an state where the upload is not finalized.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions