-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compute_ctl: database_schema should keep process::Child as part of re…
…turned value (#10273) ## Problem /database_schema endpoint returns incomplete output from `pg_dump` ## Summary of changes The Tokio process was not used properly. The returned stream does not include `process::Child`, and the process is scheduled to be killed immediately after the `get_database_schema` call when `cmd` goes out of scope. The solution in this PR is to return a special Stream implementation that retains `process::Child`.
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 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
4ab1844
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.
7576 tests run: 7184 passed, 0 failed, 392 skipped (full report)
Flaky tests (2)
Postgres 17
test_compute_pageserver_connection_stress
: release-arm64-without-lfctest_scrubber_physical_gc_ancestors[2]
: release-arm64-with-lfcCode coverage* (full report)
functions
:33.2% (8585 of 25846 functions)
lines
:49.1% (72279 of 147332 lines)
* collected from Rust tests only
4ab1844 at 2025-02-11T09:25:05.735Z :recycle: