Repository navigation
feat(upload): name the space and node when a blob commit fails - #978
Conversation
The retry log lines in finishAsync only carried the upload id. They now also name the space and the node, so a failing commit can be matched to the file without digging up the session first. The last attempt used to break out of the loop silently, it now logs that we give up, so the log shows when the retries are exhausted and the node gets rolled back. The new specs also pin the backoff cap: a huge configured backoff is clamped to maxCommitRetryBackoff, and a cancelled context ends the wait. Co-authored-by: Michal Klos <[email protected]> Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
fddc3e7 to
82c5af5
Compare
|
I cut this down to the log fields. The rest of owncloud/reva 733 is already on The detached commit with the What is left: the retry log lines carry |
Picks up opencloud-eu/reva#978: a failed blob commit now logs the space and node id, and the last attempt logs that we give up. This runs the rest of the `owncloud/reva#733` port through the opencloud CI. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Picks up opencloud-eu/reva#978: a failed blob commit now logs the space and node id, and the last attempt logs that we give up. This runs the rest of the `owncloud/reva#733` port through the opencloud CI. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Retry failed blob commits with capped backoff and recover uploads to a retryable state without leaving them stuck in processing.