pub enum ReorganizeStepOutcome {
NotNeeded,
UnitPublished,
CompactionStarted,
CompactionRunning,
CompactionAtCapacity,
CompactionRequired,
Superseded,
}Expand description
What the metadata-reorganization part of a maintenance step did.
Deliberately coarse: the run counts and byte budgets a reorganization consumes are engine policy, not a wire contract.
Variants§
NotNeeded
No family group had enough delta runs to merge.
UnitPublished
One family group was merged and a manifest published.
CompactionStarted
A group has outgrown one step, and this step started the background streaming compaction that rebuilds it. The step published nothing; the job publishes once, when it finishes.
CompactionRunning
A job for this namespace is already running, so this step started none. One runs at a time per namespace; a later step plans this group again.
CompactionAtCapacity
This step’s job holds the namespace’s slot and is waiting for a process compaction permit. It starts when one frees; nothing is needed to make it.
CompactionRequired
A group needs a streaming compaction and this handle schedules no background work, so nothing will run one until an operator does. The self-hosting guide names the call.
Superseded
Another publisher advanced the root first; a later step retries.
Trait Implementations§
Source§impl Clone for ReorganizeStepOutcome
impl Clone for ReorganizeStepOutcome
Source§fn clone(&self) -> ReorganizeStepOutcome
fn clone(&self) -> ReorganizeStepOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more