2
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-09-03 23:51:04 +02:00
restic/changelog/unreleased/issue-2715

13 lines
572 B
Text
Raw Normal View History

2021-11-14 17:52:41 +01:00
Enhancement: Cancel commands if lock is not refresh in time
Restic commands kept running even if they failed to refresh their locks in
time. This can be a problem if a concurrent call to `unlock` and `prune`
removes data from the repository. Not refreshing a lock in time can for example
be caused by a client switching to standby while running a backup.
Lock handling is now much stricter. Commands requiring a lock are canceled if
the lock is not refreshed successfully in time.
https://github.com/restic/restic/issues/2715
https://github.com/restic/restic/pull/3569