Skip to content

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented Jul 9, 2025

It is useful also for the pageserver to store whether a timeline was read_only or not: we can stop/not run internal processes, not look for safekeepers at all, etc. Also, for the outside it is nicer if the TimelineInfo contains whether a timeline is read only or not.

So introduce a new read_only field to index-part.json. Currently, it's a one time choice one can't change (in either direction), and read-only property is non-recursive. Also, we only support it for branch timelines, so not for root timelines or imported timelines.

Of course this only applies to new timelines, so the existing snapshots don't have this applied.

Follow-up of #12015

@arpad-m arpad-m requested a review from a team as a code owner July 9, 2025 17:36
@arpad-m arpad-m requested a review from ephemeralsad July 9, 2025 17:36
Copy link

github-actions bot commented Jul 9, 2025

No tests were run or test report is not available

Test coverage report is not available

The comment gets automatically updated with the latest test results
f0c63fa at 2025-07-09T18:11:06.550Z :recycle:

@arpad-m arpad-m closed this Aug 1, 2025
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