fix(#14): replay deletes captured during a full reindex #20

Merged
KofTwentyTwo merged 3 commits from feature/GH-14-replay-reindex-deletes into develop 2026-10-07 00:05:33 +00:00
3 Commits
Author SHA1 Message Date
james.maes 02785dabcd fix(#14): judge drift on the re-read row, isolate drain batches
Drift detection compares the configured fields against the freshly read row, and a captured-delete batch that fails no longer stops the later batches.

Refs #14
2026-10-06 18:39:55 -05:00
james.maes 89c675bea5 fix(#14): read rebuild status before publish, harden drain
The listener reads REBUILDING before publishing deletes, drift detection re-reads the row before writing, and the drain pages past rows it cannot remove and skips records re-created with the same key.

Refs #14
2026-10-06 18:28:47 -05:00
james.maes ce5a14870b fix(#14): replay deletes captured during a full reindex
While a full reindex rebuilds, the listener records each delete as an AWAITING_REINDEX failed event (the index row is REBUILDING), and the reindex applies them through the alias after the swap.

Closes #14
2026-10-06 18:03:15 -05:00