Skip to content

Coln store/query+rpc - #162

Merged
olynch merged 32 commits into
layout-initfrom
coln-store/query+rpc
Sep 15, 2026
Merged

olynch merged 32 commits into
layout-initfrom
coln-store/query+rpc

Conversation

@incipit0

Copy link
Copy Markdown
Collaborator

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

@incipit0
incipit0 force-pushed the coln-store/query+rpc branch from dd46310 to 251e643 Compare September 12, 2026 14:44
@incipit0
incipit0 changed the base branch from main to layout-init September 14, 2026 12:49
lstwn and others added 28 commits September 14, 2026 18:13
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.
And now it's up to the user to do finalisation of ids! But we don't
support query by TxnWireRowId anyway, so should be fine. There is still
a `Store::promote` method available which does resolve ids and
canoncailise them.
@incipit0
incipit0 force-pushed the coln-store/query+rpc branch from 251e643 to 4827773 Compare September 14, 2026 17:15
@olynch
olynch marked this pull request as ready for review September 15, 2026 14:24
Disables coln-query, and build for wasm. We rule derivation and
checking by doing that.
@incipit0
incipit0 force-pushed the coln-store/query+rpc branch from e70d7c1 to e2b01fa Compare September 15, 2026 16:49
@olynch
olynch merged commit 187d66f into layout-init Sep 15, 2026
1 of 6 checks passed
@incipit0 incipit0 mentioned this pull request Sep 16, 2026
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.

3 participants