From 35a816e8abcb7106fa05c650e086658faadc6725 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 24 Feb 2018 13:34:42 +0100 Subject: [PATCH] Add entry to changelog --- changelog/0.8.3/pull-1638 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 changelog/0.8.3/pull-1638 diff --git a/changelog/0.8.3/pull-1638 b/changelog/0.8.3/pull-1638 new file mode 100644 index 000000000..d2697b3f1 --- /dev/null +++ b/changelog/0.8.3/pull-1638 @@ -0,0 +1,16 @@ +Bugfix: Handle errors listing files in the backend + +A user reported in the forum that restic completes a backup although a +concurrent `prune` operation was running. A few error messages were printed, +but the backup was attempted and completed successfully. No error code was +returned. + +This should not happen: The repository is exclusively locked during `prune`, so +when `restic backup` is run in parallel, it should abort and return an error +code instead. + +It was found that the bug was in the code introduced only recently, which +retries a List() operation on the backend should that fail. It is now corrected. + +https://github.com/restic/restic/pull/1638 +https://forum.restic.net/t/restic-backup-returns-0-exit-code-when-already-locked/484