From 084fc4a757e2191873de797f9c0dba22d2ea49ac Mon Sep 17 00:00:00 2001 From: Vlad Lazar Date: Fri, 7 Mar 2025 16:05:31 +0000 Subject: [PATCH] pageserver: enable previous heatmaps by default (#11132) We add the off by default configs in https://github.com/neondatabase/neon/pull/11088 because the unarchival heatmap was causing oversized secondary locations. That was fixed in https://github.com/neondatabase/neon/pull/11098, so let's turn them on by default. --- pageserver/src/config.rs | 4 ++-- test_runner/fixtures/neon_fixtures.py | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/pageserver/src/config.rs b/pageserver/src/config.rs index 582019d96f..06be873160 100644 --- a/pageserver/src/config.rs +++ b/pageserver/src/config.rs @@ -456,8 +456,8 @@ impl PageServerConf { no_sync: no_sync.unwrap_or(false), enable_read_path_debugging: enable_read_path_debugging.unwrap_or(false), validate_wal_contiguity: validate_wal_contiguity.unwrap_or(false), - load_previous_heatmap: load_previous_heatmap.unwrap_or(false), - generate_unarchival_heatmap: generate_unarchival_heatmap.unwrap_or(false), + load_previous_heatmap: load_previous_heatmap.unwrap_or(true), + generate_unarchival_heatmap: generate_unarchival_heatmap.unwrap_or(true), }; // ------------------------------------------------------------ diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index 8e3277a34a..61e1ec79ad 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -1174,15 +1174,6 @@ class NeonEnv: "max_batch_size": 32, } - if config.test_may_use_compatibility_snapshot_binaries: - log.info( - "Skipping prev heatmap settings to avoid forward-compatibility related test failures" - ) - else: - # Look for gaps in WAL received from safekeepeers - ps_cfg["load_previous_heatmap"] = True - ps_cfg["generate_unarchival_heatmap"] = True - get_vectored_concurrent_io = self.pageserver_get_vectored_concurrent_io if get_vectored_concurrent_io is not None: ps_cfg["get_vectored_concurrent_io"] = {