pub struct MaintenanceReport {
pub strategy: String,
pub bytes_before: u64,
pub bytes_after: u64,
pub rows: u64,
pub retired_packs: u64,
pub verified: bool,
pub sections_sealed: usize,
}Expand description
What one maintenance run did. Applied outputs, read off the result.
Fields§
§strategy: StringWhich strategy ran, by its own name.
bytes_before: u64Size before and after — the pair, because a “reclaimed” figure alone cannot tell a run that compacted from one that did nothing.
bytes_after: u64§rows: u64Live index rows carried across. Maintenance never changes this, so a run that did is a bug and this is how it becomes visible.
retired_packs: u64Packs whose every object was dead, and whose rows were tombstoned.
verified: boolWhether the result was read back and checked. false is not failure —
an in-place compaction verifies after it has already committed.
sections_sealed: usizeReserved sections the seal produced. Always 0 on an engine with no
seal; see Engine::maintain.
Trait Implementations§
Source§impl Clone for MaintenanceReport
impl Clone for MaintenanceReport
Source§impl Debug for MaintenanceReport
impl Debug for MaintenanceReport
Source§impl Default for MaintenanceReport
impl Default for MaintenanceReport
impl Eq for MaintenanceReport
Source§impl PartialEq for MaintenanceReport
impl PartialEq for MaintenanceReport
impl StructuralPartialEq for MaintenanceReport
Auto Trait Implementations§
impl Freeze for MaintenanceReport
impl RefUnwindSafe for MaintenanceReport
impl Send for MaintenanceReport
impl Sync for MaintenanceReport
impl Unpin for MaintenanceReport
impl UnsafeUnpin for MaintenanceReport
impl UnwindSafe for MaintenanceReport
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request