-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding EMEA 2022-04-04
When a batch from an orphaned range is cleared up, the numOrphanDocs field is updated on the corresponding range deletion task document.
During upgrade such field is populated by counting orphaned docs via an index scan and during downgrade such field is unset.
In case a range deletion task document being updated as part of upgrade/downgrade is also undergoing a batch deletion at the same time, the the update operations may overlap by leaving the orphaned docs count in an inconsistent state.
- is depended on by
-
SERVER-65014 Use long long type for orphan count
- Closed
- is duplicated by
-
SERVER-64599 Synchronize ongoing migrations with upgrade/downgrade of orphan counters
- Closed