Per plan §13.1 step 3, backfill writes must be tagged with _miroir_origin: reshard_backfill so that §13.13 CDC suppresses them by default. This ensures that shadow-index writes during backfill do not generate duplicate CDC events for client writes (only the live-index write emits an event). Changes: - Add _miroir_origin field to shadow documents in process_reshard_chunk - Remove unnecessary X-Miroir-Origin header (field-based tagging is canonical) - Aligns with dual-write preparation code (reshard.rs line 1779) Closes: miroir-uhj.1.3 |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||