Skip to main content

refresh_admin_metadata

Function refresh_admin_metadata 

Source
pub async fn refresh_admin_metadata(pool: &PgPool) -> Result<(), AwaError>
Expand description

Full reconciliation of admin metadata counters from base tables.

Called infrequently by the maintenance leader (~60s) as a safety net to correct any drift from skipped dirty keys. Also called during migrate() to warm the cache.