Repository navigation
Red control: paged checkpoint import grows suffix backing from host-zeroed pages (tests only, do not merge) - #475
Draft
jonathan308 wants to merge 5 commits into
Draft
jonathan308 wants to merge 5 commits into
jonathan308 wants to merge 5 commits into
Conversation
…e without device fill A checkpoint import whose request promises a long maximum length must grow backing for that promise. On a pool configured with hostZeroedSegments, admission growth already wraps zero-fill-on-demand pages; the import's growth must do the same (no evaluator call), and the imported prefix and a suffix written into the grown pages must read back byte-identical to the device-filled reference.
This was referenced Nov 20, 2026
…ment is page-granular
…the row's use of them (review)
1 task done
This branch has not been deployed
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.
Red control for the paged checkpoint import change (see the fix PR). It carries only the new test,
CBv2PagedCheckpointAdoptionTests.hostZeroedPoolGrowsImportedSuffixPromiseWithoutDeviceFill, and the formatting of that test file, onmainwithout the change.Expected result: the new test fails on its
allocations == 0expectation for the host-zeroed pool, becausePagedKVPool.importCheckpointgrows its suffix backing with a device zero fill (one evaluator call per new segment). Every other test is unchanged and should pass.Do not merge.
Checklist