Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pageserver): run psql in thread to avoid blocking (#10177)
## Problem ref #10170 ref #9994 The psql command will block the main thread, causing other async tasks to timeout (i.e., HTTP connect). Therefore, we need to move it to an I/O executor thread. ## Summary of changes * run psql connection in a thread --------- Signed-off-by: Alex Chi Z <[email protected]> Co-authored-by: John Spray <[email protected]>
- Loading branch information
cc138b5
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.
7245 tests run: 6936 passed, 1 failed, 308 skipped (full report)
Failures on Postgres 16
test_storage_controller_many_tenants[github-actions-selfhosted]
: release-x86-64Flaky tests (4)
Postgres 17
test_pageserver_gc_compaction_smoke
: release-x86-64test_physical_replication_config_mismatch_too_many_known_xids
: debug-x86-64Postgres 16
test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]
: release-arm64Postgres 14
test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]
: release-arm64Code coverage* (full report)
functions
:31.3% (8397 of 26865 functions)
lines
:48.0% (66643 of 138941 lines)
* collected from Rust tests only
cc138b5 at 2024-12-19T11:55:41.579Z :recycle: