Skip to content

Fix typo in conf for snapshot cache capacity in pageserver#12872

Open
dotdister wants to merge 1 commit intoneondatabase:mainfrom
dotdister:fix-relsize-snapshot-cache-capacity-setting-parse
Open

Fix typo in conf for snapshot cache capacity in pageserver#12872
dotdister wants to merge 1 commit intoneondatabase:mainfrom
dotdister:fix-relsize-snapshot-cache-capacity-setting-parse

Conversation

@dotdister
Copy link
Copy Markdown
Contributor

Problem

When tenant settings included relsize_snapshot_cache_capacity, control_plane::pageserver::parse_config called settings.remove() with a mistyped key ("relsize snapshot cache capacity" with spaces).
The real key was never removed from the map, so parsing either failed with “unrecognized tenant settings” or the intended capacity was not applied.
This key must match the underscore form used everywhere else (relsize_snapshot_cache_capacity).

Summary of changes

Updated the configuration key from 'relsize snapshot cache capacity' to 'relsize_snapshot_cache_capacity' to ensure consistency and correct parsing in the settings.
This change addresses potential issues with configuration loading.

…er (neondatabase#12855)

Updated the configuration key from 'relsize snapshot cache capacity' to 'relsize_snapshot_cache_capacity' to ensure consistency and correct parsing in the settings. This change addresses potential issues with configuration loading.
@dotdister dotdister changed the title Fix typo in conf for snapshot cache capacity in pageserver (#12855) Fix typo in conf for snapshot cache capacity in pageserver Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant