-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fast import: restore to neondb (not postgres) database (#10251)
## Problem `postgres` is system database at neon, so we need to do `pg_restore` into `neondb` instead neondatabase/cloud#22100 ## Summary of changes Changed fast_import a little bit: 1. After succesfull connection creating `neondb` in postgres instance 2. Changed restore connstring to use new db 3. Added optional `source_connection_string`, which allows to skip `s3_prefix` and just connect directly. 4. Added `-i` that stops process until sigterm ## TODO - [x] test image in cplane e2e - [ ] Change import job image back to latest after this merged (partial revert of neondatabase/cloud#22338)
- Loading branch information
Showing
1 changed file
with
147 additions
and
80 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
55a68b2
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.
7466 tests run: 7080 passed, 0 failed, 386 skipped (full report)
Flaky tests (2)
Postgres 17
test_nbtree_pagesplit_cycleid
: release-arm64test_scrubber_physical_gc_ancestors[2]
: debug-x86-64Code coverage* (full report)
functions
:33.7% (8421 of 25015 functions)
lines
:49.1% (70378 of 143214 lines)
* collected from Rust tests only
55a68b2 at 2025-01-15T23:13:54.482Z :recycle: