From 892dcde01f16175bbb7038896f6f080ec7094ee6 Mon Sep 17 00:00:00 2001 From: Dmitrii Kovalkov Date: Thu, 22 May 2025 15:17:04 +0200 Subject: [PATCH] follow up comments --- pageserver/src/walingest.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pageserver/src/walingest.rs b/pageserver/src/walingest.rs index c1a3b79915..63dcc2f467 100644 --- a/pageserver/src/walingest.rs +++ b/pageserver/src/walingest.rs @@ -1316,7 +1316,9 @@ impl WalIngest { } }); - if info == pg_constants::XLOG_CHECKPOINT_SHUTDOWN { + if modification.tline.is_basebackup_cache_enabled() + && info == pg_constants::XLOG_CHECKPOINT_SHUTDOWN + { modification.tline.prepare_basebackup(lsn); }