This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
User directory rebuild spends too long calculating progress #15457
Labels
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
On matrix.org we have this applied:
because the
SELECT COUNT(*)
involves a table scan. We should either skip this or do something smarter (incrementally update number OR use the postgres stats tables for a cheap size estimate).The text was updated successfully, but these errors were encountered: