pub enum MetadataCompactionOutcome {
NotNeeded,
BoundedMergePublished,
Published {
manifest_no: ManifestNo,
rows_read: u64,
rows_written: u64,
input_bytes: u64,
output_bytes: u64,
output_segments: u64,
},
Cancelled,
Abandoned,
Fenced,
}Expand description
The outcome of one metadata compaction run.
Variants§
NotNeeded
No eligible family group was available and nothing was published.
BoundedMergePublished
The selected window fit a bounded step and this run published it.
Published
The selected run window was replaced in a published manifest.
Fields
§
manifest_no: ManifestNoManifest published by the compaction.
Cancelled
The run was cancelled; the manifest did not move.
Abandoned
Inputs changed, time ran out, or publication retries were exhausted.
Fenced
Another process claimed the namespace compactor role; nothing was published.
Trait Implementations§
Source§impl Clone for MetadataCompactionOutcome
impl Clone for MetadataCompactionOutcome
Source§impl Debug for MetadataCompactionOutcome
impl Debug for MetadataCompactionOutcome
Source§impl<'de> Deserialize<'de> for MetadataCompactionOutcome
impl<'de> Deserialize<'de> for MetadataCompactionOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MetadataCompactionOutcome
impl StructuralPartialEq for MetadataCompactionOutcome
Auto Trait Implementations§
impl Freeze for MetadataCompactionOutcome
impl RefUnwindSafe for MetadataCompactionOutcome
impl Send for MetadataCompactionOutcome
impl Sync for MetadataCompactionOutcome
impl Unpin for MetadataCompactionOutcome
impl UnsafeUnpin for MetadataCompactionOutcome
impl UnwindSafe for MetadataCompactionOutcome
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