pub struct SweepReport {
pub archived: usize,
pub pruned: usize,
pub errors: usize,
}Expand description
v0.7.0 I3 — outcome of one sweep_transcript_lifecycle pass.
archived and pruned count distinct rows touched in each phase
of the same sweep tick; a row archived this tick will not be
pruned until at least the next tick (and only after its grace
window expires). errors is best-effort observability — the
sweeper logs and continues past per-row failures so a single
poison row cannot stall the loop, but the count is surfaced for
the daemon’s structured logs and the future doctor overlay.
Fields§
§archived: usizeNumber of rows transitioned to archived this tick.
pruned: usizeNumber of rows hard-deleted (prune phase) this tick.
errors: usizePer-row errors swallowed during the sweep (e.g. a single
transcript with a corrupt namespace string). The aggregate
sweep call still returns Ok so the background loop keeps
running.
Trait Implementations§
Source§impl Clone for SweepReport
impl Clone for SweepReport
Source§fn clone(&self) -> SweepReport
fn clone(&self) -> SweepReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SweepReport
Source§impl Debug for SweepReport
impl Debug for SweepReport
Source§impl Default for SweepReport
impl Default for SweepReport
Source§fn default() -> SweepReport
fn default() -> SweepReport
impl Eq for SweepReport
Source§impl PartialEq for SweepReport
impl PartialEq for SweepReport
Source§fn eq(&self, other: &SweepReport) -> bool
fn eq(&self, other: &SweepReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SweepReport
Auto Trait Implementations§
impl Freeze for SweepReport
impl RefUnwindSafe for SweepReport
impl Send for SweepReport
impl Sync for SweepReport
impl Unpin for SweepReport
impl UnsafeUnpin for SweepReport
impl UnwindSafe for SweepReport
Blanket Implementations§
impl<T> Boilerplate 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
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§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
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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>
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>
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