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.
This commit is contained in:
Vlad Lazar
2025-03-07 16:05:31 +00:00
committed by GitHub
parent 937876cbe2
commit 084fc4a757
2 changed files with 2 additions and 11 deletions

View File

@@ -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"] = {