Repository navigation
docs(spec): streaming query engine design (#473) - #552
Merged
Merged
Conversation
Snapshots with page quarantine, columnar id batches, the operator set, memory accounting with an optional cap (QRY-012), large transactions committed as checkpoints, oracle-based migration and the sub-issue plan. Refs #473 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012wXxZguv7PgKQjMMH4yJ5h
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…nsaction statement rules (#473) Checked every claim against the code: pending store and checkpoint terms, in-memory databases, pseudo-attributes, max_results, float join keys, last-statement-wins across chunks. Refs #473 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012wXxZguv7PgKQjMMH4yJ5h
Whole snapshots (single-append commit, one-step checkpoint publish), quarantine in rebuild_indexes and BrowserDb page release, fact log without the write lock, executor behaviours made explicit, large transaction commit order, recovery and statement rollback. Refs #473 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012wXxZguv7PgKQjMMH4yJ5h
Refs #473 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012wXxZguv7PgKQjMMH4yJ5h
7 tasks done
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.
Design spec for the streaming query engine, #473. No code.
Arcof the pending store and its length at open. Nothing is copied. A checkpoint swaps the pending store instead of clearing it. Freed pages are quarantined in memory while an older generation is pinned, with no format change. The fact log uses the same pin, andAPI-013is deprecated.Project(perf: committed scans look up every entity id in the DICT tree #530). The matcher's cross-kind rules and pseudo-attributes are kept.Scanover all four indexes, folding in perf: attribute+value patterns scan the whole attribute; AVET index is never read #518.try_reserve, and an optionalquery_memory_limitthat raisesQRY-012.TX_CHUNK_FACTSstaged facts writes copy-on-write working trees and commits as a checkpoint. Statement bases keep "last statement wins" andAPI-011exact across chunks.Sub-issues #543–#551, in delivery order.
Refs #473
🤖 Generated with Claude Code
https://claude.ai/code/session_012wXxZguv7PgKQjMMH4yJ5h