pub struct WalWriterStats {
pub completed_groups: u64,
pub completed_records: u64,
pub completed_bytes: u64,
pub group_size_histogram: GroupSizeHistogram,
pub recent_groups: Vec<CompletedGroup>,
pub pending_records: usize,
pub visible_end: Option<LogSeq>,
pub durable_end: Option<LogSeq>,
pub retained_records: usize,
pub retained_bytes: usize,
pub encoded_buffer_allocations: u64,
}Expand description
Deterministic group-composition and progress snapshot.
Fields§
§completed_groups: u64Total append groups whose flush returned.
completed_records: u64Total records across completed append groups.
completed_bytes: u64Total encoded bytes across completed append groups.
group_size_histogram: GroupSizeHistogramFixed-size logarithmic group-size distribution.
recent_groups: Vec<CompletedGroup>Exact most-recent groups, oldest to newest, capped by RECENT_GROUP_LIMIT.
pending_records: usizeRecords waiting behind the currently in-flight group.
visible_end: Option<LogSeq>Largest sequence visible in memory.
durable_end: Option<LogSeq>Largest sequence whose tier-specific flush returned.
retained_records: usizeRecords still retained for in-memory visibility.
retained_bytes: usizeEncoded bytes still retained for in-memory visibility.
encoded_buffer_allocations: u64Shared encoded record buffers created by successful staging calls.
Trait Implementations§
Source§impl Clone for WalWriterStats
impl Clone for WalWriterStats
Source§impl Debug for WalWriterStats
impl Debug for WalWriterStats
impl Eq for WalWriterStats
Source§impl PartialEq for WalWriterStats
impl PartialEq for WalWriterStats
impl StructuralPartialEq for WalWriterStats
Auto Trait Implementations§
impl Freeze for WalWriterStats
impl RefUnwindSafe for WalWriterStats
impl Send for WalWriterStats
impl Sync for WalWriterStats
impl Unpin for WalWriterStats
impl UnsafeUnpin for WalWriterStats
impl UnwindSafe for WalWriterStats
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