all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-backup] fix #8003: sync: pull: log skipped chunk reuse for corrupt manifests
@ 2026-09-03  7:50 Christian Ebner
  2026-09-03  7:57 ` Christian Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Ebner @ 2026-09-03  7:50 UTC (permalink / raw)
  To: pbs-devel

Chunks from a manifest with verify state failed cannot be re-used
since it is not known which chunks are corrupt and/or whether the
index files referenced in the manifest are corrupt. The manifest
is therefore skipped when determining the chunks from the
previous snapshot during sync pull jobs. This was however not logged,
causuing confusion on why a sync job now takes much longer.

Add an additional log line to clarify this.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 src/server/pull.rs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/server/pull.rs b/src/server/pull.rs
index 4eb5bcf11..13f4f5b09 100644
--- a/src/server/pull.rs
+++ b/src/server/pull.rs
@@ -1273,7 +1273,12 @@ async fn pull_group(
             })?;
 
             match manifest.verify_state()? {
-                Some(verify_state) if verify_state.state == VerifyState::Failed => (),
+                Some(verify_state) if verify_state.state == VerifyState::Failed => {
+                    bail!(
+                        "cannot safely reuse chunks of snapshot {}, verify state failed",
+                        info.backup_dir.backup_time_string(),
+                    );
+                }
                 _ => {
                     for file in manifest.files() {
                         let index: Box<dyn IndexFile> = match file.filename.archive_type() {
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-03  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03  7:50 [PATCH proxmox-backup] fix #8003: sync: pull: log skipped chunk reuse for corrupt manifests Christian Ebner
2026-09-03  7:57 ` Christian Ebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal