From 3890f5846cb2c771e6a2e1011770afee940d4fe8 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Wed, 9 Oct 2024 10:01:58 +0300 Subject: [PATCH] Update pageserver/src/basebackup.rs Co-authored-by: Heikki Linnakangas --- pageserver/src/basebackup.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pageserver/src/basebackup.rs b/pageserver/src/basebackup.rs index 8765acd725..9315330737 100644 --- a/pageserver/src/basebackup.rs +++ b/pageserver/src/basebackup.rs @@ -420,7 +420,8 @@ where // but now we should handle (skip) it for backward compatibility. continue; } else if path == "pg_stat/pgstat.stat" && !normal_shutdown { - // Drop statistic in case of abnormal termination (shtiodown checkopint was not written + // Drop statistic in case of abnormal termination, i.e. if we're not starting from the exact LSN + // of a shutdown checkpoint. continue; } let header = new_tar_header(&path, content.len() as u64)?;