Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic in compute_ctl metrics collection (#9831)
Calling unwrap on the encoder is a little overzealous. One of the errors that can be returned by the encode function in particular is the non-existence of metrics for a metric family, so we should prematurely filter instances like that out. I believe that the cause of this panic was caused by a race condition between the prometheus collector and the compute collecting the installed extensions metric for the first time. The HTTP server is spawned on a separate thread before we even start bringing up Postgres. Signed-off-by: Tristan Partin <[email protected]>
- Loading branch information
37962e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5626 tests run: 5387 passed, 3 failed, 236 skipped (full report)
Failures on Postgres 16
test_sharded_ingest[github-actions-selfhosted-1]
: release-x86-64test_bulk_insert[neon-github-actions-selfhosted]
: release-x86-64test_compaction_l0_memory[github-actions-selfhosted]
: release-x86-64Code coverage* (full report)
functions
:31.4% (7956 of 25343 functions)
lines
:49.3% (63112 of 127990 lines)
* collected from Rust tests only
37962e7 at 2024-11-21T22:08:58.833Z :recycle: