Merge pull request #5011 from MichaelEischer/fix-canceled-retry

backend/retry: don't trip circuit breaker if context is canceled
This commit is contained in:
Michael Eischer
2024-08-26 16:30:03 +02:00
committed by GitHub
3 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
Bugfix: Fix rare failures to retry locking a repository
Restic 0.17.0 could in rare cases fail to retry locking a repository if
one of the lock files failed to load. The lock operation failed with error
`unable to create lock in backend: circuit breaker open for file <lock/1234567890>`
The error handling has been fixed to correctly retry locking the repository.
https://github.com/restic/restic/issues/5005
https://github.com/restic/restic/pull/5011