Skip to content

Coln store/query+rpc - #162

Draft
incipit0 wants to merge 74 commits into
mainfrom
coln-store/query+rpc
Draft

Coln store/query+rpc#162
incipit0 wants to merge 74 commits into
mainfrom
coln-store/query+rpc

Conversation

@incipit0

Copy link
Copy Markdown
Collaborator

coln-query integration + initial model IR + query interface + whatever refactor....

lstwn and others added 29 commits September 10, 2026 22:05
Just add it, more work to do later on.
Rewrite some of the indexing methods. Introduce TableHandle::inner()
which allows internal packages to use PackedRowId methods if they wish
to.
Now that they are called TxnLiveRowId.
Also did rename SortedTableSnapshot -> SortedTable. snapshot means
something special in coln-store, where it is used to rollback operations.
`TableHandle` handles the packing/unpacking to and from WireRowId <->
PackedRowId.

Also fold TableMut into TableHandle, not on TestTable.
An empty commit will return early with a all-zero hash and not modify
the commit graph. In the future we might want to introduce an option
of something like --allow-empty.
Make txn able to read things from table. For now these are mostly dup
code from the StoreHandle. I want to redesign the RW interface from
coln-store so that might change.

For now, we can read stuff inside a transaction.
Add read/write transactions to coln-store, with typestate.

Add convenience methods to do single-shot read/write on the store,
internally they will start/finish a transaction for you.
@incipit0
incipit0 force-pushed the coln-store/query+rpc branch from dd46310 to 251e643 Compare September 12, 2026 14:44
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.

4 participants