neon
neon copied to clipboard
Revive procedure for moving tenants manually between safekeepers
Two use cases:
- Moving all tenants residing on one safekeeper to another.
- 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:
- [x] https://github.com/neondatabase/neon/issues/6340
- [x] https://github.com/neondatabase/neon/issues/6341
- [x] revive the script
This week: get #6340 done by writing code & tests (tests are most of the work)
This week:
- wrap up & merge https://github.com/neondatabase/neon/pull/7882
- implement last remaining test in to-do list of https://github.com/neondatabase/neon/issues/6340
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