Skip to content

Commit 13b84d8

Browse files
committed
fix customize config test
Signed-off-by: Alex Chi Z <[email protected]>
1 parent 982b1ea commit 13b84d8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pageserver/src/pgdatadir_mapping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ impl DatadirModification<'_> {
24692469
self.tline
24702470
.update_rel_size_v2_status(
24712471
reldir_migration_history.status.clone(),
2472-
reldir_migration_history.v1_disabled_at,
2472+
reldir_migration_history.v2_enabled_at,
24732473
)
24742474
.map_err(WalIngestErrorKind::RelSizeV2Error)?;
24752475
self.put(

test_runner/regress/test_attach_tenant_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_fully_custom_config(positive_env: NeonEnv):
183183
"lsn_lease_length": "1m",
184184
"lsn_lease_length_for_ts": "5s",
185185
"timeline_offloading": False,
186-
"rel_size_v2_enabled": True,
186+
"rel_size_v2_enabled": False,
187187
"relsize_snapshot_cache_capacity": 10000,
188188
"gc_compaction_enabled": False,
189189
"gc_compaction_verification": False,
@@ -194,6 +194,7 @@ def test_fully_custom_config(positive_env: NeonEnv):
194194
"numerator": 0,
195195
"denominator": 10,
196196
},
197+
"rel_size_v1_access_disabled": True,
197198
}
198199

199200
vps_http = env.storage_controller.pageserver_api()

0 commit comments

Comments
 (0)