From acda65d7d4c4cdcf270efb3ff4b93e6983b9efff Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 26 Oct 2023 09:53:18 +0100 Subject: [PATCH] pageserver: quieten "Failed to get info about AUX files" (#5669) ## Problem This line caused lots of errors to be emitted for healthy tenants. ## Summary of changes Downgrade to debug, since it is an expected code path we'll take for tenants at startup. --- pageserver/src/pgdatadir_mapping.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pageserver/src/pgdatadir_mapping.rs b/pageserver/src/pgdatadir_mapping.rs index 52c44746dc..b611583b60 100644 --- a/pageserver/src/pgdatadir_mapping.rs +++ b/pageserver/src/pgdatadir_mapping.rs @@ -1202,7 +1202,8 @@ impl<'a> DatadirModification<'a> { let mut dir = match self.get(AUX_FILES_KEY, ctx).await { Ok(buf) => AuxFilesDirectory::des(&buf)?, Err(e) => { - warn!("Failed to get info about AUX files: {}", e); + // This is expected: historical databases do not have the key. + debug!("Failed to get info about AUX files: {}", e); AuxFilesDirectory { files: HashMap::new(), }