Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

Prior to this change, the retry context for an appendable upload would start its retry timeout clock at stream opening time, if an upload is proceeding slowly and a retryable error is delivered the retry might not retry even if there had been previous successful incremental response messages more recently.

This change updates the logic to reset the retry timeout clock each time a successful response message is received. This maps logically to what is done with resumable uploads today where the timer is live for each PUT.

…ly handle slow uploads

Prior to this change, the retry context for an appendable upload would start its retry timeout clock at stream opening time, if an upload is proceeding slowly and a retryable error is delivered the retry might not retry even if there had been previous successful incremental response messages more recently.

This change updates the logic to reset the retry timeout clock each time a successful response message is received. This maps logically to what is done with resumable uploads today where the timer is live for each PUT.
@BenWhitehead BenWhitehead requested a review from a team as a code owner December 15, 2025 21:51
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Dec 15, 2025
@BenWhitehead BenWhitehead merged commit e660e5a into main Dec 16, 2025
26 checks passed
@BenWhitehead BenWhitehead deleted the appendable/retry-timeout-fix branch December 16, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants