Add V7 raw forward index format for codec pipelines - #19307
Open
xiangfu0 wants to merge 3 commits into
Open
Conversation
This was referenced Aug 19, 2026
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/04-t64-gorilla
branch
from
August 20, 2026 09:07
1924ed6 to
7014dcc
Compare
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/05-v7-format
branch
from
August 20, 2026 09:07
d906d6d to
04dd66f
Compare
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/04-t64-gorilla
branch
from
August 21, 2026 00:49
7014dcc to
bdc7c33
Compare
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/05-v7-format
branch
from
August 21, 2026 00:49
04dd66f to
669848c
Compare
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/04-t64-gorilla
branch
from
August 21, 2026 04:16
bdc7c33 to
d251cca
Compare
xiangfu0
force-pushed
the
xiangfu0/codex/codec-stack/05-v7-format
branch
from
August 21, 2026 04:16
669848c to
e784709
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Stacked on #19306 and part of the split of #18229.
Summary
This is the first slice that consumes
codecSpecin production forward-index I/O.0xC0DEC0DEdiscriminator and canonical codec spec in the header.Hardening
putInt/putLongmismatches before corrupting state.totalDocs; the reader rejects a mismatched header during construction rather than at first query.V7 can now be created and loaded. Until #19308, reload does not reconcile
codecSpecchanges.Verification
Stack
#19284 → #19285 → #19305 → #19306 → #19307 (this PR) → #19308 → #19309
Review and merge parent-first.