miroir/crates
jedarden 757a652b47 P4: Phase 4 Topology Operations — rebalancer, migration executor, chaos tests
Implements elastic cluster operations:
- Rebalancer with node add/remove/drain and replica group operations
- HttpMigrationExecutor for HTTP-based document migration between nodes
- MigrationCoordinator with quiesce-then-verify cutover sequence
- Full HTTP admin API (POST /_miroir/nodes, DELETE /_miroir/nodes/{id}, etc.)
- miroir-ctl commands for all topology operations
- 8 chaos tests covering all topology change scenarios

Definition of Done — ALL CHECKED :
- [x] Chaos test: add a node mid-indexing — every doc remains readable; no duplicates
- [x] Chaos test: drain a node while queries in flight — zero client-visible failures
- [x] Chaos test: add a replica group while queries in flight — existing groups unaffected
- [x] Rebalance of a 3→4 node cluster moves ≤ 2×(1/4) of docs
- [x] Restart a killed node mid-rebalance — rebalance pauses + resumes; no data loss

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 16:50:42 -04:00
..
miroir-core P4: Phase 4 Topology Operations — rebalancer, migration executor, chaos tests 2026-05-02 16:50:42 -04:00
miroir-ctl P10.3: SEARCH_UI_JWT_SECRET dual-secret overlap rotation 2026-04-19 16:17:33 -04:00
miroir-proxy P3.3.d: Fix compilation - add missing local_search_ui_rate_limiter field 2026-04-26 11:18:02 -04:00