fix customize config test

Signed-off-by: Alex Chi Z <chi@neon.tech>
This commit is contained in:
Alex Chi Z
2025-07-28 15:21:39 -04:00
parent 982b1ea6bd
commit 13b84d83d0
2 changed files with 3 additions and 2 deletions

View File

@@ -2469,7 +2469,7 @@ impl DatadirModification<'_> {
self.tline
.update_rel_size_v2_status(
reldir_migration_history.status.clone(),
reldir_migration_history.v1_disabled_at,
reldir_migration_history.v2_enabled_at,
)
.map_err(WalIngestErrorKind::RelSizeV2Error)?;
self.put(

View File

@@ -183,7 +183,7 @@ def test_fully_custom_config(positive_env: NeonEnv):
"lsn_lease_length": "1m",
"lsn_lease_length_for_ts": "5s",
"timeline_offloading": False,
"rel_size_v2_enabled": True,
"rel_size_v2_enabled": False,
"relsize_snapshot_cache_capacity": 10000,
"gc_compaction_enabled": False,
"gc_compaction_verification": False,
@@ -194,6 +194,7 @@ def test_fully_custom_config(positive_env: NeonEnv):
"numerator": 0,
"denominator": 10,
},
"rel_size_v1_access_disabled": True,
}
vps_http = env.storage_controller.pageserver_api()