Repository navigation
Bind native chunks to physical storage - #794
Merged
Merged
Conversation
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.
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.