pub async fn flush_dirty_admin_metadata(pool: &PgPool) -> Result<i32, AwaError>Expand description
Drain ALL dirty keys until the backlog is empty.
Use in tests or admin tooling where you need the cache to be fully consistent before reading. Each call to the underlying SQL function acquires a blocking advisory lock, so concurrent callers serialize rather than skip.