fix: guard legacy runtime paths for bucketed configs

This commit is contained in:
2026-04-17 14:35:09 +08:00
parent d8a0796506
commit 7de38fa998
5 changed files with 319 additions and 5 deletions

View File

@@ -496,6 +496,8 @@ pub fn replay_fixed_placement(
placements: &[PlacementEntry],
policy: ReplayEvictPolicy,
) -> Result<ReplaySummary> {
cfg.cluster
.require_legacy_single_pool("fixed-placement replay")?;
if records.len() != placements.len() {
return Err(anyhow!(
"records/placements length mismatch: {} vs {}",