Expand description
Implementation methods for the concrete database handles. Installed Wasm
fault probes enable test-support to specialize these handles for their backing.
Structs§
- Aggregate
Jobs - Durable bounded aggregates in a host-governed allocation. Holds at most 16 jobs, each at most 16 KiB encoded bytes. Creation requires a fresh nonzero incarnation. Handles identify jobs; they do not authorize access. All mutation must run synchronously within one IC message, without awaits. Supplier failures trap; a later message trap rolls these changes back too.
- Database
- Admitted database owning the supplier’s exclusive collection lease.
- Maintenance
- Exclusive handle to a durably frozen source, before any target allocation/copy. Dropping this handle leaves maintenance active. Ordinary reads/writes remain closed. Host adapters own authorization and endpoint exposure.
- Query
- Fluent exact predicates over one entity. No callback executor is generated. Ordering uses primary order, an explicit index, a proven automatic path or bounded complete sorting. Work exhaustion never returns a sorted prefix.
- Retired
Source - Exclusive cleanup authority for an entire source collection retired by cutover. Admission binds the exact transition and both database incarnations. Cleanup never opens the target and never clears the source’s retired manifest.
- Schema
Copy - Exclusive source/target custody for a key-preserving whole-database transformation. Both allocations remain closed to ordinary access. Dropping preserves progress. Publication requires completed validation. Allocation reuse remains unsupported.