Skip to content

fix: avoid corrupting sub-schema merge_insert pages on v2.2#6420

Merged
Xuanwo merged 4 commits into
mainfrom
xuanwo/issue-6338-merge-insert-v22-corruption
Apr 7, 2026
Merged

fix: avoid corrupting sub-schema merge_insert pages on v2.2#6420
Xuanwo merged 4 commits into
mainfrom
xuanwo/issue-6338-merge-insert-v22-corruption

Conversation

@Xuanwo
Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo commented Apr 7, 2026

This canonicalizes all-valid validity bitmaps into the same rep/def state as no-null arrays, so sub-schema merge_insert updates on data_storage_version=2.2 stop emitting inconsistent control-word metadata and corrupting variable-width pages.

This PR picks up the proposed fix for #6338 and adds regression coverage for both the end-to-end binary merge_insert failure and the underlying repdef canonicalization invariant.

@github-actions github-actions Bot added the bug Something isn't working label Apr 7, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Xuanwo Xuanwo merged commit 4f6e3c1 into main Apr 7, 2026
29 checks passed
@Xuanwo Xuanwo deleted the xuanwo/issue-6338-merge-insert-v22-corruption branch April 7, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants