Repository navigation
kernels: read_locate — a block a node lacks and the manifest names is read from the store - #157
Merged
Merged
Conversation
…s is read from the store) (Verus) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
locate_block now takes two decisions from glidefs-kernels::read_locate (Verus, no behaviour change): local_candidate(state) (only DIRTY or SYNCING may be read from the local file, so a NOT_PRESENT block, every block of a second node's fresh attach, never is) and cold_location (a block the pack index names with data is the clean cache's copy of its hash or a fetch from the store, never zeros).
Verus: base 2159/0. mut_absent_block_reads_local red at read_locate.rs:44; mut_named_block_reads_zero red at :66. cargo check -p glidefs --lib --tests green; the state-code parity test passes. ARCHITECTURE.md row updated. Needs a tag so Beyond can pin glidefs@:kernels/src/read_locate.rs.
🤖 Generated with Claude Code