From 20e82d1fcfe5d89a25a99ebf4672dd4e49b74455 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 16 Jul 2023 13:10:23 +0200 Subject: [PATCH] lock: add changelog for stale lock refresh --- changelog/unreleased/issue-4274 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 changelog/unreleased/issue-4274 diff --git a/changelog/unreleased/issue-4274 b/changelog/unreleased/issue-4274 new file mode 100644 index 000000000..96cb0709d --- /dev/null +++ b/changelog/unreleased/issue-4274 @@ -0,0 +1,10 @@ +Bugfix: Improve lock refresh handling when using standby + +If the restic process was stopped or the host running restic entered standby +during a long running operation such as a backup, this resulted in the +operation failing with `Fatal: failed to refresh lock in time`. We've reworked +the lock refresh such that restic first checks whether it is safe to continue +the current operation and only throws an error if not. + +https://github.com/restic/restic/issues/4274 +https://github.com/restic/restic/pull/4374