neon icon indicating copy to clipboard operation
neon copied to clipboard

Epic: safekeepers dynamic membership change (Phase 1)

Open arssher opened this issue 1 year ago • 2 comments

We need to be able to move tenants between safekeepers:

  1. To migrate all tenants on one safekeeper if it dies.
  2. To migrate one tenant if we find that load balancing needs it.

Eventually a proper dynamic membership change two step algorithm should be implemented (), which works correctly regardless of old safekeeper(s) state. However this is complicated, so let's do it in following large steps:

### Tasks
- [ ] #4783
- [ ] https://github.com/neondatabase/neon/issues/6340
- [x] Migration script https://github.com/neondatabase/cloud/pull/15227
- [ ] https://github.com/neondatabase/cloud/issues/7931 required for migration without endpoint restart
- [ ] https://github.com/neondatabase/neon/issues/8700

arssher avatar Jul 21 '23 16:07 arssher