How a broken release name overloaded our symbolication database

Sentry traced an overload of its Postgres 14 symbolication files database to a few releases with broken names that had accumulated tens of millions of rows, which one unbounded lookup kept trying to scan. Capping the work a single lookup can do cut database CPU from 76% to 19% and reduced symbolication timeouts by 98%, after bigger hardware had failed to fix the problem. The affected path matches source maps by release name and URL, used by older setups that lack debug IDs.

AI-written summary, checked against the cited sources. How summaries work

Image: Sentry Blog

Read at Sentry Blog