pub struct PruneStats {
pub orphan_files_removed: u64,
pub orphan_bytes_reclaimed: u64,
pub orphan_rows_removed: u64,
}Expand description
Reclaim report from Store::prune_orphan_blobs: how many orphan blob
files and stale blobs rows were removed, and how much on-disk space was
freed. Used by hh gc (Area 3).
Fields§
§orphan_files_removed: u64Number of on-disk blob files removed: files with no blobs row, or a
zero-refcount row, backing them (a crash between BlobStore::put and
the referencing event’s commit, or a Store::delete_session that
decremented the refcount but crashed before removing the file).
orphan_bytes_reclaimed: u64Total compressed on-disk bytes reclaimed by removing those files.
orphan_rows_removed: u64Number of blobs rows removed: zero-refcount rows paired with an orphan
file, plus refcount-positive rows whose backing file was missing
(deleted out of band). Removing the row lets a future reference
re-create the blob instead of pointing at a missing file.
Trait Implementations§
Source§impl Clone for PruneStats
impl Clone for PruneStats
Source§fn clone(&self) -> PruneStats
fn clone(&self) -> PruneStats
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 PruneStats
impl Debug for PruneStats
Source§impl Default for PruneStats
impl Default for PruneStats
Source§fn default() -> PruneStats
fn default() -> PruneStats
impl Eq for PruneStats
Source§impl PartialEq for PruneStats
impl PartialEq for PruneStats
impl StructuralPartialEq for PruneStats
Auto Trait Implementations§
impl Freeze for PruneStats
impl RefUnwindSafe for PruneStats
impl Send for PruneStats
impl Sync for PruneStats
impl Unpin for PruneStats
impl UnsafeUnpin for PruneStats
impl UnwindSafe for PruneStats
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
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§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.