pub struct MaintenanceReport {
pub time_spent: Duration,
pub completed_merges: Vec<PathBuf>,
pub rows_merged: u64,
pub bytes_written: u64,
pub pending_compaction: bool,
pub dropped_whole: Vec<PathBuf>,
}Expand description
Maintenance report from a maintenance_step() call (M5.2, Issue #384)
Fields§
§time_spent: DurationTime spent in this maintenance step
completed_merges: Vec<PathBuf>Completed merge output files (if any merge completed)
rows_merged: u64Number of rows merged in this step
bytes_written: u64Number of bytes written in this step
pending_compaction: boolWhether there is pending compaction work
dropped_whole: Vec<PathBuf>SSTables DROPPED WHOLE by the fully-expired fast path in the merge that
completed this step (issue #1388), distinct from the merged inputs: each was
proven fully expired by authoritative Statistics.db metadata and
overlap-safe, so it was excluded from the K-way merger (never read/decoded)
and its components were reclaimed after the merged output published. Empty
when nothing was dropped. Paths are input Data.db paths.
Trait Implementations§
Source§impl Clone for MaintenanceReport
impl Clone for MaintenanceReport
Source§fn clone(&self) -> MaintenanceReport
fn clone(&self) -> MaintenanceReport
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 moreAuto 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<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