pub struct SQLiteSerializableAdmission { /* private fields */ }Expand description
An exclusive, short-lived SSI admission over the database’s auxiliary store. Every file-backed opener uses SQLite’s process-shared writer admission; in-memory sessions share their parent’s retained auxiliary pool. Dropping this guard discards unpersisted changes and releases admission.
The caller owns participant liveness, receipt reconciliation and snapshot/publication ordering. Persist admission before exposing a participant, and persist prepared receipt bindings before publishing records, then reacquire admission while publishing and resolving them. A failed persistence call does not establish a physical record outcome. This transport does not enable SERIALIZABLE SQL by itself.
Implementations§
Source§impl SQLiteSerializableAdmission
impl SQLiteSerializableAdmission
pub fn graph(&self) -> &SerializableGraph
pub fn graph_mut(&mut self) -> &mut SerializableGraph
Sourcepub fn persist(self, control: &StorageReadControl) -> VersionResult<()>
pub fn persist(self, control: &StorageReadControl) -> VersionResult<()>
Atomically retain changed checkpoint records and release admission. An unchanged checkpoint needs no record writes. Cancellation or a failed BLOB write rolls back the auxiliary transaction. A failed COMMIT may be uncertain; callers must reconcile physical receipts before classifying a publication or admitting another data snapshot.