pub struct ExternalBinaryFootprint {
pub distinct_references: u64,
pub measured_bytes: u64,
pub unmeasured_references: u64,
}Expand description
The external binaries the verified head references, counted while the planning walk was reading every property anyway.
Compaction can never touch these bytes — they live in the blob store — and a plan that says nothing about them invites the operator to expect blob-store savings from a segment-store tool. Distinctness is tracked per blob identifier (hash-keyed for identifier formats that carry no content hash of their own), and bytes are summed from the length suffix Oak’s file blob stores embed in their identifiers; an identifier without one is counted but cannot contribute bytes.
Fields§
§distinct_references: u64Distinct external blob identifiers the head references.
measured_bytes: u64Bytes summed over the identifiers that carry a length suffix.
unmeasured_references: u64Distinct identifiers without a parsable length suffix.
Trait Implementations§
Source§impl Clone for ExternalBinaryFootprint
impl Clone for ExternalBinaryFootprint
Source§fn clone(&self) -> ExternalBinaryFootprint
fn clone(&self) -> ExternalBinaryFootprint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more