- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Sharding
- 
        Fully Compatible
- 
        Sharding EMEA 2022-03-21
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Decrease the persisted numOrphanDocs field from range deletion task document after a batch is deleted: numOrphanDocs - numDeleted.
This is a separate ticket from SERVER-63335 because, even though the change is trivial, it is also accounting for the time to implement proper tests covering it.
- depends on
- 
                    SERVER-63335 Add `numOrphanDocs` field to range deletion task documents -         
- Closed
 
-