Skip to content

persist: remove unused MINIMUM_CONSOLIDATED_VERSION - #37489

Open
ggevay wants to merge 1 commit into
MaterializeInc:mainfrom
ggevay:gabor/remove-minimum-consolidated-version
Open

ggevay wants to merge 1 commit into
MaterializeInc:mainfrom
ggevay:gabor/remove-minimum-consolidated-version

Conversation

@ggevay

@ggevay ggevay commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

MINIMUM_CONSOLIDATED_VERSION gated assumptions about codec-order consolidation: parts written before it could not be assumed to be consolidated/sorted according to the current definition. Its last consumers were removed in f02f202 ("Remove codec-order consolidation") when consolidation moved entirely to structured (Arrow) ordering with per-run RunOrder metadata, leaving the constant unreferenced.

Removing it avoids sending future readers down a dead path: the comment on the source_proto_serialization_stability test in mz-storage-types still instructed encoding changes to "increase the MINIMUM_CONSOLIDATED_VERSION as part of the same release", an instruction that has had no effect since then. This PR updates that comment as well. (#37482 corrects the same comment in more detail and will be rebased on top of this PR.)

🤖 Generated with Claude Code

(#37482 is on top of this PR.)

MINIMUM_CONSOLIDATED_VERSION gated assumptions about codec-order
consolidation: parts written before it could not be assumed to be
consolidated or sorted according to the current definition. Its last
consumers were removed in f02f202 ("Remove codec-order
consolidation") when consolidation moved entirely to structured (Arrow)
ordering with per-run RunOrder metadata, leaving the constant
unreferenced.

Also update the comment on the SourceData serialization stability test,
which still instructed encoding changes to bump the constant.

Co-Authored-By: Claude Fable 5 <[email protected]>
@ggevay
ggevay marked this pull request as ready for review July 7, 2026 15:10
@ggevay
ggevay requested review from a team as code owners July 7, 2026 15:10
@ggevay ggevay added the A-PERSIST Area: persistence of (meta)data label Jul 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-PERSIST Area: persistence of (meta)data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant