mz_storage_controller

Function snapshot_statistics

Source
pub(crate) async fn snapshot_statistics<T>(
    id: GlobalId,
    upper: Antichain<T>,
    storage_collections: &Arc<dyn StorageCollections<Timestamp = T> + Send + Sync>,
) -> Vec<Row>
Expand description

Get the current rows in the given statistics table. This is used to bootstrap the statistics tasks.