Skip to content

Bind native chunks to physical storage - #794

Merged
matrixarkai merged 1 commit into
mainfrom
native-storage-identity
Nov 23, 2026
Merged

matrixarkai merged 1 commit into
mainfrom
native-storage-identity

Conversation

@matrixarkai

Copy link
Copy Markdown
Owner

Binds native log operations to a durable physical storage incarnation with strict canonical protocol5 fields. A checksummed binary protobuf ownership registry reserves each namespace before file creation and marks it ready after durable initialization; an atomic length/sequence/history anchor protects recovery. Missing or empty completed files cannot be recreated as empty qualified members. Older requests cannot access native-owned namespaces.

Steady appends and reads perform resident ownership checks without adding registry records or fsyncs. Recovery rejects missing/corrupt anchors, committed truncation, noncanonical data and changed ownership, and discards unanchored suffixes. Metadata membership, pinned-reader repair, replacement catchup and object RPC activation remain unfinished; the default backend is unchanged.

Validation:349 source-hashed release tests and an all-feature/all-target check passed on identical source. Tests include three TCP replicas, physical storage replacement with another high-prefix member offline, delayed initialization, missing/empty data, restart, anchor failures and stable registry length through20 appends. Tests were capped at1GiB, swap disabled, peak412MiB, OOM0; builds used one compiler job and the shared5GiB cache budget.

@matrixarkai
matrixarkai merged commit c61af85 into main Nov 23, 2026
10 of 11 checks passed
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.

2 participants