Skip to main content

Module engine

Module engine 

Source

Structs§

CompactionHandle
A running or finished background compaction. Dropping it cancels the job and waits for the worker, so the engine (and its store lock) is not held past the handle.
CompactionOptions
Limits for one background compaction. None means unbounded.
CompactionProgress
CompactionReport
HistoryBounds
The retained history of the live generation.
HistoryOptions
Bounds on building a view.
HistoryRevision
One write of an id, live at some position of an interval.
HistoryView
The document and raw-vector state at one journal position. Read-only; every read fails with HistoryError::Compacted once the store has compacted since the view was built.
JournalPosition
A frame boundary in one journal generation: the state after every frame that starts before offset.
PurgeStatus
How many purges are waiting for a scrubbing compaction.
PurgeTicket
One purge in progress: created before its deletes, ended by WarmCore::finish_purge or WarmCore::defer_purge. A ticket dropped otherwise (an error between the mark and the end) counts as committed, which is safe because a scrub of text that was never deleted removes nothing.
ReorderReport
The outcome of the last explicit compaction’s reorder, with the working-memory estimate it was decided on (zero when none was computed) and the budget.
SparseSearch
A ranking mode with the caller’s sparse query.
TimeResolution
What a wall-clock time resolved to.
WarmCore
Persistent operations take mutation_gate before ShardSet and component locks.

Enums§

CompactionResource
CompactionStage
CompactionStatus
HistoryError
Why a history call refused to answer. Malformed journal data is reported as the replay error it is, not as one of these.
RankingMode
Which ranking answers a document search.
ReorderOutcome
What a compaction did about the document slot order (WarmCore::last_reorder).
RevisionKind