mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
## Problem Currently the only way to exercise tenant migration is via python test code. We need a convenient way for developers to do it directly in a neon local environment. ## Summary of changes - Add a `--num-pageservers` argument to `cargo neon init` so that it's easy to run with multiple pageservers - Modify default pageserver overrides in neon_local to set up `LocalFs` remote storage, as any migration/attach/detach stuff doesn't work in the legacy local storage mode. This also unblocks removing the pageserver's support for the legacy local mode. - Add a new `cargo neon tenant migrate` command that orchestrates tenant migration, including endpoints.
18 lines
449 B
Rust
18 lines
449 B
Rust
//! Local control plane.
|
|
//!
|
|
//! Can start, configure and stop postgres instances running as a local processes.
|
|
//!
|
|
//! Intended to be used in integration tests and in CLI tools for
|
|
//! local installations.
|
|
#![deny(clippy::undocumented_unsafe_blocks)]
|
|
|
|
pub mod attachment_service;
|
|
mod background_process;
|
|
pub mod broker;
|
|
pub mod endpoint;
|
|
pub mod local_env;
|
|
pub mod pageserver;
|
|
pub mod postgresql_conf;
|
|
pub mod safekeeper;
|
|
pub mod tenant_migration;
|