pub struct MetadataFileRef {Show 14 fields
pub owner_namespace_id: NamespaceId,
pub table_id: MetadataTableId,
pub object_key: String,
pub run_seq: ChangeSeq,
pub level: u32,
pub family: MetadataTableFamily,
pub segment_index: u32,
pub row_count: u64,
pub min_key: String,
pub max_key: String,
pub index_block: BlockHandle,
pub filter_block: BlockHandle,
pub filter_inline: Option<String>,
pub payload_checksum: String,
}Expand description
Describes one immutable metadata SST object referenced by a namespace manifest.
See metadata segments.
Fields§
§owner_namespace_id: NamespaceIdNamespace whose keyspace owns the object, which may be a fork source rather than the reader.
table_id: MetadataTableIdImmutable table identity incorporated into the object’s durable key.
object_key: StringFully resolved object-store key trusted only after descriptor validation.
run_seq: ChangeSeqNamespace sequence at which this run was produced.
level: u32Compaction tier used to order overlapping runs during reads and reorganization.
family: MetadataTableFamilyRow schema and lookup ordering encoded in this segment.
segment_index: u32Zero-based shard position among segments emitted for the same family and run.
row_count: u64Number of row payloads in the segment, used for validation and planning.
min_key: StringInclusive least durable row key; the segment is corrupt if decoded rows disagree.
max_key: StringInclusive greatest durable row key; range planning skips disjoint segments.
index_block: BlockHandleWhere the segment’s index block lives and how to verify it. The descriptor is the only entry point into a segment object — there is no footer — so a reader starts here.
filter_block: BlockHandleWhere the segment’s bloom filter block lives and how to verify it.
filter_inline: Option<String>The filter block’s stored bytes inlined as hex, present when the
filter is small (small delta runs). Point lookups consult it to skip
the segment without any object fetch; filter_block still names and
verifies the same bytes, so the inline copy must decode byte-for-byte
identical (same length and CRC32C) or the manifest is corrupt.
payload_checksum: StringChecksum of the segment object’s full bytes, in sha256:<hex> form.
The ranged read path verifies per-block CRCs instead; this digest is
the segment’s identity in the decoded-block cache.
Trait Implementations§
Source§impl Clone for MetadataFileRef
impl Clone for MetadataFileRef
Source§fn clone(&self) -> MetadataFileRef
fn clone(&self) -> MetadataFileRef
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more