pub enum MetadataReorganizeOutcome {
NotNeeded {
l0_runs: usize,
},
UnitPublished {
families: Vec<MetadataTableFamily>,
folded_l0_rows: u64,
input_runs: usize,
decoded_input_rows: u64,
decoded_input_bytes: u64,
manifest_id: ManifestId,
},
BudgetExhausted {
families: Vec<MetadataTableFamily>,
l0_runs: usize,
},
Superseded,
}Expand description
What one reorganization step did.
Variants§
NotNeeded
The manifest’s L0 run count is below the policy trigger; nothing to fold yet.
UnitPublished
One bounded complete-run subset for a family group folded into new base segments and the manifest advanced.
BudgetExhausted
The trigger fired, but no oldest-first subset that would make progress fit the hard per-step input budgets.
Superseded
A concurrent publication moved the root while this unit ran; its output is unreferenced (garbage collection reclaims it) and the next step retries against the fresh manifest.
Trait Implementations§
Source§impl Clone for MetadataReorganizeOutcome
impl Clone for MetadataReorganizeOutcome
Source§fn clone(&self) -> MetadataReorganizeOutcome
fn clone(&self) -> MetadataReorganizeOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetadataReorganizeOutcome
impl Debug for MetadataReorganizeOutcome
impl Eq for MetadataReorganizeOutcome
impl StructuralPartialEq for MetadataReorganizeOutcome
Auto Trait Implementations§
impl Freeze for MetadataReorganizeOutcome
impl RefUnwindSafe for MetadataReorganizeOutcome
impl Send for MetadataReorganizeOutcome
impl Sync for MetadataReorganizeOutcome
impl Unpin for MetadataReorganizeOutcome
impl UnsafeUnpin for MetadataReorganizeOutcome
impl UnwindSafe for MetadataReorganizeOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more