pub struct SealReport {
pub archive: PathBuf,
pub packs_sealed: u64,
pub packs_retired: u64,
pub packs_after_copy: u64,
pub blob_bytes: u64,
pub sealed_total_bytes: u64,
}Expand description
What one seal_generation_zero put on disk. Every count is taken off the
journal and the sealed file, never echoed back from an argument.
Fields§
§archive: PathBufThe archive that now exists.
packs_sealed: u64Verbatim packs that got an index row — one row each, chunk_seq = 0.
packs_retired: u64Acked packs the journal has since tombstoned. They keep their bytes in the blob region and get no row, which is what makes them dead payload for the compaction that follows.
packs_after_copy: u64Acked packs whose extent runs past the bytes that were copied — a pack
acked after the copy began. They get no row either, because a row for
one would address bytes this archive does not carry. Normally 0; it is
reported rather than swallowed so a seal that raced a push says so.
blob_bytes: u64Bytes of blob region carried into the archive — the whole blob file, verbatim, so every journal extent still addresses the bytes it named.
sealed_total_bytes: u64Size of the sealed archive, blob region and metadata tail together.
Trait Implementations§
Source§impl Clone for SealReport
impl Clone for SealReport
Source§fn clone(&self) -> SealReport
fn clone(&self) -> SealReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SealReport
impl Debug for SealReport
impl Eq for SealReport
Source§impl PartialEq for SealReport
impl PartialEq for SealReport
impl StructuralPartialEq for SealReport
Auto Trait Implementations§
impl Freeze for SealReport
impl RefUnwindSafe for SealReport
impl Send for SealReport
impl Sync for SealReport
impl Unpin for SealReport
impl UnsafeUnpin for SealReport
impl UnwindSafe for SealReport
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
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
key and return true if they are equal.