- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Sharding
- 
        Fully Compatible
- 
        Sharding EMEA 2022-03-07
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
On upgrade (during phase 2 of setFCV):
- Populate theĀ numOrphanDocs field on range deletion task documents by counting index entries belonging to orphaned ranges
On downgrade (during phase 1 of setFCV):
- Unset the numOrphanDocs field from range deletion task documents.
It does not fall in the scope of this ticket the synchronization of numOrphanDocs updates with ongoing migrations.
- depends on
- 
                    SERVER-63335 Add `numOrphanDocs` field to range deletion task documents -         
- Closed
 
-