pub enum CompactionSkip {
LowerLevelLazy,
}Expand description
Reason the compaction picker deliberately left a level un-compacted.
This is the “did not run” complement to CompactionTrigger: it explains a
non-uniform per-level policy decision rather than a compaction that happened.
Variants§
LowerLevelLazy
A deeper non-level-0 level had enough non-overlapping tables that a uniform picker would merge one downward, but the non-uniform policy left it lazy. The level was within its depth-scaled file budget and no size, tombstone, or blob trigger justified rewriting it. Because non-level-0 levels are non-overlapping, the extra tables add no point-read candidate depth, so leaving them avoids write amplification without regressing reads.
Trait Implementations§
Source§impl Clone for CompactionSkip
impl Clone for CompactionSkip
Source§fn clone(&self) -> CompactionSkip
fn clone(&self) -> CompactionSkip
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 moreimpl Copy for CompactionSkip
Source§impl Debug for CompactionSkip
impl Debug for CompactionSkip
impl Eq for CompactionSkip
Source§impl Ord for CompactionSkip
impl Ord for CompactionSkip
Source§fn cmp(&self, other: &CompactionSkip) -> Ordering
fn cmp(&self, other: &CompactionSkip) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompactionSkip
impl PartialEq for CompactionSkip
Source§impl PartialOrd for CompactionSkip
impl PartialOrd for CompactionSkip
impl StructuralPartialEq for CompactionSkip
Auto Trait Implementations§
impl Freeze for CompactionSkip
impl RefUnwindSafe for CompactionSkip
impl Send for CompactionSkip
impl Sync for CompactionSkip
impl Unpin for CompactionSkip
impl UnsafeUnpin for CompactionSkip
impl UnwindSafe for CompactionSkip
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