neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
13.35k stars 379 forks source link

Revive procedure for moving tenants manually between safekeepers #4783

Open arssher opened 12 months ago

arssher commented 12 months ago

Two use cases:

  1. Moving all tenants residing on one safekeeper to another.
  2. Move single tenant.

"Manually" means this is safe only as long as either 1) source safekeeper is reliably offline 2) or computes using it are reliably offline forever.

Needed steps:

problame commented 2 months ago

This week: get #6340 done by writing code & tests (tests are most of the work)

problame commented 1 month ago

This week:

arssher commented 1 week ago

Opened PR with the script: https://github.com/neondatabase/cloud/pull/15227 will test it more, finish docs and move them to the engineering book