Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: fix division by zero in layer counting metric (#7662)
For aux file keys (v1 or v2) the vectored read path does not return an error when they're missing. Instead they are omitted from the resulting btree (this is a requirement, not a bug). Skip updating the metric in these cases to avoid infinite results.
- Loading branch information
d5399b7
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.
3105 tests run: 2957 passed, 2 failed, 146 skipped (full report)
Failures on Postgres 14
test_storage_controller_many_tenants[github-actions-selfhosted]
: releasetest_parallel_copy_different_tables[neon-github-actions-selfhosted]
: releaseFlaky tests (2)
Postgres 16
test_vm_bit_clear_on_heap_lock
: debugPostgres 14
test_gc_aggressive
: debugCode coverage* (full report)
functions
:31.4% (6313 of 20124 functions)
lines
:47.3% (47578 of 100662 lines)
* collected from Rust tests only
d5399b7 at 2024-05-08T20:11:39.530Z :recycle: