From 810b5ea0768456231e0d77c4accc3b4558d9800f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 9 Jun 2018 17:55:51 +0200 Subject: [PATCH] Add entry to changelog --- changelog/unreleased/issue-1833 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 changelog/unreleased/issue-1833 diff --git a/changelog/unreleased/issue-1833 b/changelog/unreleased/issue-1833 new file mode 100644 index 000000000..247807279 --- /dev/null +++ b/changelog/unreleased/issue-1833 @@ -0,0 +1,9 @@ +Bugfix: Fix caching files on error + +During `check` it may happen that different threads access the same file in the +backend, which is then downloaded into the cache only once. When that fails, +only the thread which is responsible for downloading the file signals the +correct error. The other threads just assume that the file has been downloaded +successfully and then get an error when they try to access the cached file. + +https://github.com/restic/restic/issues/1833