Skip to content

webdav: retry failed Nextcloud chunks in place - #10008

Open
Asthenia0412 wants to merge 1 commit into
rclone:masterfrom
Asthenia0412:codex/10005-nextcloud-chunk-retry
Open

Asthenia0412 wants to merge 1 commit into
rclone:masterfrom
Asthenia0412:codex/10005-nextcloud-chunk-retry

Conversation

@Asthenia0412

@Asthenia0412 Asthenia0412 commented Sep 29, 2026 •

Copy link
Copy Markdown

Fixes #10005.

Nextcloud chunk uploads currently return a retryable error when a chunk PUT fails. The outer low-level retry then restarts the whole upload, removing the temporary upload directory and sending previously accepted chunks again.

Retry each chunk in place using the configured low-level retry budget, rewinding its repeatable body before each attempt. Once that budget is exhausted, prevent the outer retry from restarting the entire object. The regression test covers both a transient chunk failure and an exhausted retry budget.

Testing

All non-integration WebDAV tests pass together. The unfiltered package run cannot complete in this environment because the integration fixture requires flock, which is unavailable.

@Asthenia0412
Asthenia0412 requested a review from ncw as a code owner September 29, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload to nextcloud with chunks reupload all chunks in case of error

1 participant