Skip to main content

observe_catalog_sst_key

Function observe_catalog_sst_key 

Source
pub fn observe_catalog_sst_key(
    profile: &mut StatsProfile,
    last_prefix: &mut Option<Vec<u8>>,
    key: &[u8],
    value: &[u8],
)
Expand description

Count a catalog CF version if it is the newest for its graph in this SST.

Catalog keys are graph ‖ descending commit_ts, so RocksDB visits the newest version first. Older versions of the same prefix are skipped. Present increments StatsProfile::named_graph_count; Dropped does not.