8000 Retry temporary rclone backend errors by MichaelEischer · Pull Request #5251 · restic/restic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Retry temporary rclone backend errors #5251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 22, 2025

Conversation

MichaelEischer
Copy link
Member
@MichaelEischer MichaelEischer commented Feb 17, 2025

What does this PR change? What problem does it solve?

rclone backends apparently sometimes temporarily report a file as missing even though it actually exists. This results in problems with the backend error redesign in restic 0.17.0, which relies on accurate information about missing files. Thus this PR reintroduces a limited number of retries when using rclone as backend.

Was the change previously discussed in an issue or on the forum?

Fixes https://forum.restic.net/t/data-does-not-exist-check-successful-on-second-attempt-but-restic-returns-non-zero-error-code/9117
Fixes https://forum.restic.net/t/fatal-repository-contains-errors-when-only-errors-are-successfully-retried-operations/8971

Checklist

  • I have added tests for all code changes.
  • [ ] I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

Copy link
Member Author
@MichaelEischer MichaelEischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@MichaelEischer MichaelEischer merged commit 4454773 into restic:master Mar 22, 2025
11 checks passed
@MichaelEischer MichaelEischer deleted the rclone-retries branch March 22, 2025 13:24
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.

1 participant
0