Merge pull request #3512 from MichaelEischer/cleaner-lock-refresh

Prevent lock refresh from leaving behind lots of stale locks
This commit is contained in:
Alexander Neumann authored and GitHub committed 2022-03-21 11:10:37 +01:00
commit 0b8b524f12
4 files changed
+22 -10

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
Bugfix: Improve error handling of repository locking
When the lock refresh failed to delete the old lock file, it forgot about the
newly created one. Instead it continued trying to delete the old (usually no
longer existing) lock file and thus over time lots of lock files accumulated.
This has been fixed.
https://github.com/restic/restic/issues/2452
https://github.com/restic/restic/issues/2473
https://github.com/restic/restic/issues/2562
https://github.com/restic/restic/pull/3512