miroir/crates/miroir-core
jedarden ce3c0cb73c P4.2 Node addition: migration-aware dual-write routing + admin routes
- Add write_targets_with_migration() to router: includes new node in write
  targets when a shard is in dual-write phase during node addition
- Wire migration-aware routing into write_documents_impl (documents.rs)
- Expose get_all_migrations() accessor on MigrationCoordinator for router use
- Add node management API routes: POST /nodes, DELETE /nodes/{id},
  POST /nodes/{id}/drain, GET /rebalance/status, replica_group CRUD
- Improve compute_shard_moves_for_new_node: prefer displaced node as
  migration source; fall back to lowest-scored old owner

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 21:43:40 -04:00
..
benches P3: Phase 3 Task Registry + Persistence — COMPLETE 2026-05-02 16:50:42 -04:00
migrations P3: Task Registry + Persistence — 14-table SQLite schema, Redis mirror, Helm validation 2026-04-24 15:50:20 -04:00
proptest-regressions/task_store P12: close Phase 12 epic — all 6 open problems triaged and documented 2026-04-24 19:14:23 -04:00
src P4.2 Node addition: migration-aware dual-write routing + admin routes 2026-05-11 21:43:40 -04:00
tests P4.2 Node addition: dual-write + paginated shard migration 2026-05-08 15:15:35 -04:00
Cargo.toml P4.1 Rebalancer background worker with advisory lock 2026-05-05 10:51:27 -04:00