-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the size of the perf counters shared memory array (#9226)
MaxBackends doesn't include auxiliary processes. Whenever an aux process made IO operations that updated the counters, they would scribble over shared memory beoynd the end of the array. The relsize cache hash table comes after the array, so the symptom was an error about hash table corruption in the relsize cache hash.
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8861e8a
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.
5162 tests run: 4992 passed, 2 failed, 168 skipped (full report)
Failures on Postgres 16
test_compaction_l0_memory[github-actions-selfhosted]
: release-x86-64test_gc_feedback_with_snapshots[github-actions-selfhosted]
: release-x86-64Flaky tests (6)
Postgres 17
test_pageserver_compaction_smoke
: release-arm64test_deletion_queue_recovery[validate-lose]
: debug-x86-64test_subscriber_restart
: release-x86-64Postgres 16
test_slots_and_branching
: release-x86-64Postgres 14
test_multixid_wraparound_import
: release-x86-64test_readonly_node_gc
: release-arm64Code coverage* (full report)
functions
:31.3% (7486 of 23881 functions)
lines
:49.6% (60095 of 121224 lines)
* collected from Rust tests only
8861e8a at 2024-10-01T22:08:36.388Z :recycle: