From ba4fe9e10f62dea18e5aa0f26b43a60195397818 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 26 Oct 2023 14:54:52 +0100 Subject: [PATCH] pageserver: fix the second "AUX files" warning (#5673) In https://github.com/neondatabase/neon/pull/5669 I didn't notice that the same warning is logged in two places: fix the other one. --- 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 b611583b60..daadf6abd4 100644 --- a/pageserver/src/pgdatadir_mapping.rs +++ b/pageserver/src/pgdatadir_mapping.rs @@ -552,7 +552,8 @@ impl Timeline { Err(e) => Err(PageReconstructError::from(e)), }, 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); Ok(HashMap::new()) } }