consciousness/src/cli
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
..
admin.rs store: index ops take WriteTransaction, mutations batch properly 2026-04-13 21:44:20 -04:00
agent.rs store: remove visit tracking infrastructure 2026-04-13 18:57:12 -04:00
graph.rs Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00
journal.rs Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00
mod.rs kill cli/misc.rs 2026-04-12 23:03:00 -04:00
node.rs Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00