feat(relational): add authoritative packed base-row storage - #502
Merged
Merged
Conversation
ajroetker
force-pushed
the
feature/relational-core
branch
from
August 19, 2026 16:51
430ad08 to
2bc3374
Compare
# Conflicts: # zig/pkg/antfly/src/storage/db/algebraic/schema_capability.zig
Integrate native generation storage with persistent run directories, logical publication identity, snapshot-bound backfill, and streamed manifest recovery. Serialize split ownership behind the durability lane, use the borrowed runtime clock, and run VOPR maintenance on its scheduler. Cover publication intervals, bulk admission, replay snapshots, and declared backup integrity.
Normalize empty contracts to the table-creation schema and atomically persist public/runtime forms. Update restore fixtures to respect LSM writer ownership and native vector readiness; retain cached status fixture authority.
…hots safely Keep bulk selections and delta certificates across admission denial, prepare scheduler metadata in bounded off-lock work, and defer GC wakes without delaying durability. Revalidate identities after publication and use representation-independent async memtable access. Add allocation, lifecycle, concurrency and scaling regressions.
Keep prepared domain and GC work across admission denial with bounded preparation, validation, retry deadlines, and reclamation. Consume pinned immutable metadata directly during persisted execution, index scheduler conflicts, and preserve foreground time/job budgets. Add regressions and reproducible handoff/admission benchmarks.
# Conflicts: # zig/build.zig # zig/pkg/antfly/src/storage/lsm_backend/compaction.zig
3 tasks
ajroetker
marked this pull request as ready for review
September 12, 2026 02:05
ajroetker
added a commit
that referenced
this pull request
Sep 12, 2026
The README still described Antfly as built on etcd's raft library and accelerated via go-highway, neither of which is true of the Zig runtime. Rewrite the opening around the zero-dependency engine, and bring the feature list up to date: - add late interaction and fusion to hybrid search - replace the go-highway bullet with CPU, Metal, and CUDA backends - add Lite, hot standby, and serverless deployment shapes - add the C API, Go binding, in-browser WASM build, Wasmtime extensions, and fine-tuning - add an "In progress" section linking the relational, catalog, and SQL/pgwire PRs (#502, #691, #145) - add the Rust SDK, memoryaf, and antflylite to the tables - fix the three broken rs/pgaf links (crate lives at rs/crates/pgaf) - describe owned dependencies and the VOPR harness under Architecture, and list the LSM lifecycle and trace-validated etcdraft TLA+ specs
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.
What changed
relational_storefacadeScope
This folds the former R2 authoritative-base-row slice into #502 so the PR lands one minimal, usable relational storage path instead of an admitted schema and unused codec. The code was ported surgically from the current final tree of
combine-pr-141-143-144, not reconstructed by cherry-picking its historical commits.Still excluded:
Validation
unit-storage-test-audit, storage compile, formatting, E2E collection, andgit diff --checkpassed after the final main merge32546016284passed: x86_64 hermetic/TLA+, ARM64 codec, Antfly E2E, inference E2E, and low-FD regressionsorigin/main(46b702a8e) is merged cleanly