From 5af828e3e6849de0913d3f9bae2f2f4fc1c3aa03 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 7 Nov 2021 21:08:07 +0100 Subject: [PATCH] add changelogs --- changelog/unreleased/issue-3428 | 14 ++++++++++++++ changelog/unreleased/issue-3432 | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 changelog/unreleased/issue-3428 create mode 100644 changelog/unreleased/issue-3432 diff --git a/changelog/unreleased/issue-3428 b/changelog/unreleased/issue-3428 new file mode 100644 index 000000000..6d2b055c8 --- /dev/null +++ b/changelog/unreleased/issue-3428 @@ -0,0 +1,14 @@ +Bugfix: List snapshots in backend at most once to resolve snapshot ids + +Many commands support specifying a list of snapshot ids which are then used to +determine the snapshot accessed by the command. To resolve snapshot ids or +"latest" and check that these exist, restic listed all snapshots stored in the +repository. Depending on the backend this can be a slow and/or expensive +operation. + +Restic now lists the snapshots only once and remembers the result to resolve +all further snapshot ids. + +https://github.com/restic/restic/issues/3428 +https://github.com/restic/restic/pull/3570 +https://github.com/restic/restic/pull/3395 diff --git a/changelog/unreleased/issue-3432 b/changelog/unreleased/issue-3432 new file mode 100644 index 000000000..b874e7da6 --- /dev/null +++ b/changelog/unreleased/issue-3432 @@ -0,0 +1,14 @@ +Bugfix: Fix rare 'not found in repository' error for copy command + +In rare cases copy (and other commands) could report that LoadTree(...) +returned a `id [...] not found in repository` error. This could be caused by a +backup or copy command running concurrently. The error is only temporary, +running the failed restic command a second time as a workaround solves the +error. + +This issue has been fixed by correcting the order in which restic reads data +from the repository. It is now guaranteed that restic only loads snapshots for +which all necessary data is already available. + +https://github.com/restic/restic/issues/3432 +https://github.com/restic/restic/pull/3570