sql: panic when decoding table stats can crash the process #135940
Labels
A-sql-table-stats
Table statistics (and their automatic refresh).
branch-release-22.1
Used to mark GA and release blockers, technical advisories, and bugs for 22.1
branch-release-22.2
Used to mark GA and release blockers, technical advisories, and bugs for 22.2
branch-release-23.1
Used to mark GA and release blockers, technical advisories, and bugs for 23.1
branch-release-23.2
Used to mark GA and release blockers, technical advisories, and bugs for 23.2
branch-release-24.1
Used to mark GA and release blockers, technical advisories, and bugs for 24.1
branch-release-24.2
Used to mark GA and release blockers, technical advisories, and bugs for 24.2
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
We have observed occasional issues in the past where attempting to decode table statistics histograms causes a panic (e.g., #128876). We catch panics in some parts of the stats cache, but there are some paths through the stats cache where panics are not caught. This causes certain operations that access the stats cache to crash the cockroach process. We should add panic catching for these alternate paths.
Jira issue: CRDB-44798
The text was updated successfully, but these errors were encountered: