#[non_exhaustive]pub struct OpenReport {
pub replayed_commands: u64,
pub replayed_bytes: u64,
pub elapsed_ms: u64,
pub dropped_bytes: u64,
pub corrupt: bool,
pub quarantine_paths: Vec<PathBuf>,
pub resynced_bytes: u64,
}Expand description
What Store::open restored — and what it could not. The pull-style
twin of KevyMetric::Replay (Store::open_report()), so a host can
turn “the AOF lost bytes at boot” into a health-check verdict without
wiring a metric sink or scraping stderr.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.replayed_commands: u64Commands replayed from the AOF(s), summed across shards.
replayed_bytes: u64Bytes actually replayed (the valid prefixes).
elapsed_ms: u64Wall-clock time of the whole startup replay, in milliseconds.
dropped_bytes: u64Bytes dropped past the last replayable frame, summed across shards. Non-zero = the store recovered less than the files held.
corrupt: boolTrue when any shard’s replay stopped at a corrupt frame.
quarantine_paths: Vec<PathBuf>Quarantine files written while repairing dropped tails (one per affected shard).
resynced_bytes: u64Bytes the resync replay hopped over (corrupt regions between valid records, summed across shards). Zero under strict replay.
Trait Implementations§
Source§impl Clone for OpenReport
impl Clone for OpenReport
Source§fn clone(&self) -> OpenReport
fn clone(&self) -> OpenReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more