Function mz_storage_controller::snapshot_statistics

source ยท
pub(crate) async fn snapshot_statistics<T>(
    id: GlobalId,
    upper: Antichain<T>,
    storage_collections: &Arc<dyn StorageCollections<Timestamp = T> + Send + Sync>,
    txns_read: &TxnsRead<T>,
    persist: &Arc<PersistClientCache>,
) -> Vec<Row>
Expand description

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