miroir/crates
jedarden a724456312 feat(proxy): add group activation verification (P4.4)
Added verification step to POST /_miroir/replica_groups/{id}/activate:
- Compares document counts between source and new group via stats endpoint
- Allows up to 0.1% variance (accounts for writes during sync)
- Returns 412 Precondition Failed if variance exceeds threshold

Also fixed TaskStore module exports (error, schema) and added RedisPool
struct for CDC integration.

Note: TaskStore trait implementations (redis.rs, sqlite.rs) have method
name/type mismatches with the trait definition (134 methods). This blocks
full compilation - tracked in plan-gap bead. P4.4 group addition tests use
mock clients and don't depend on TaskStore, so core functionality is intact.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 05:44:18 -04:00
..
miroir-core feat(proxy): add group activation verification (P4.4) 2026-05-24 05:44:18 -04:00
miroir-ctl Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00
miroir-proxy feat(proxy): add group activation verification (P4.4) 2026-05-24 05:44:18 -04:00