Skip to content

kernels: read_locate — a block a node lacks and the manifest names is read from the store - #157

Merged
jaredLunde merged 1 commit into
mainfrom
ss/read-locate-kernel
Dec 1, 2026
Merged

jaredLunde merged 1 commit into
mainfrom
ss/read-locate-kernel

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

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

…s is read from the store) (Verus)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jaredLunde
jaredLunde merged commit f9e168d into main Dec 1, 2026
26 checks passed
@jaredLunde
jaredLunde deleted the ss/read-locate-kernel branch December 1, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant