Plan one bounded recovery pass over every persisted row.
Pure and deterministic, so the same rows always produce the same mutation
set, and so a healthy database plans nothing at all. The edit/metadata
relationship is repaired rather than abandoned in both directions: a metadata
row whose edit is gone is deleted, and an edit whose metadata row is missing
or disagrees has its index row re-derived from the edit itself. That is what
keeps a claim from throwing Offline edit metadata references missing edit
halfway through a replay pass.
Plan one bounded recovery pass over every persisted row.
Pure and deterministic, so the same rows always produce the same mutation set, and so a healthy database plans nothing at all. The edit/metadata relationship is repaired rather than abandoned in both directions: a metadata row whose edit is gone is deleted, and an edit whose metadata row is missing or disagrees has its index row re-derived from the edit itself. That is what keeps a claim from throwing
Offline edit metadata references missing edithalfway through a replay pass.