consciousness/src/hippocampus/store
Kent Overstreet 4696bb8b7d store: index ops take WriteTransaction, mutations batch properly
Index functions now take &WriteTransaction instead of &Database,
allowing callers to batch multiple index operations in a single
transaction. Store mutations (upsert, delete, rename, etc.) now
begin_write/commit their own transactions, ensuring atomicity.

- replay_relations uses single txn for all relation indexing
- Store::db() exposes Database for callers needing txn control
- Convenience wrappers open their own txn for simple cases

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-13 21:44:20 -04:00
..
capnp.rs store: index ops take WriteTransaction, mutations batch properly 2026-04-13 21:44:20 -04:00
index.rs store: index ops take WriteTransaction, mutations batch properly 2026-04-13 21:44:20 -04:00
mod.rs store: index ops take WriteTransaction, mutations batch properly 2026-04-13 21:44:20 -04:00
ops.rs store: index ops take WriteTransaction, mutations batch properly 2026-04-13 21:44:20 -04:00
types.rs store: wire up RELS index for relations 2026-04-13 21:12:47 -04:00
view.rs store: convert more callers to use RELS index 2026-04-13 21:20:27 -04:00