SERVER-130130In Code Review
Migration recipient corrupts the persisted orphan count by decrementing it for xferMods deletes that remove no document
h2. Problem On the migration recipient, the apply step for xferMods deletes processes each {{_id}} in the delete batch by issuing a justOne delete and then decrementing an in-flight orphan delta. That delta is later persisted and feeds the recipient's orphan accounting and range-deleter bookkeeping for the migrated range. h2. Root cause The orphan delta is decremented once per delete entry, *unconditionally*, even when the delete removed nothing: The recipient legitimately r