Function fetch_snapshot_size

Source
async fn fetch_snapshot_size<Q>(
    conn: &mut Q,
    tables: Vec<(MySqlTableName, usize, &Vec<SourceStatistics>)>,
    metrics: MySqlSnapshotMetrics,
) -> Result<u64, Error>
where Q: Queryable,
Expand description

Fetch the size of the snapshot on this worker and emits the appropriate emtrics and statistics for each table.