-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2020-10-19
If we have multiple CollAndChunkTasks enqueued to be persisted to disk, we will lose the reshardingFields field when iterating through the tasks.
We're assuming with this ticket that the iteration will be from oldest to newest, so we can always prefer the next task's ReshardingFieds struct when iterating. This ticket's implementer will need to verify that assumption with renctan.
If the above assumption isn't correct, we can write a ReshardingFields comparator. It's safe just to compare based on state, because the coordinator should never modify the ReshardingFields for a collection when not also modifying state.
- is depended on by
-
SERVER-51209 Fill in missing gaps in Resharding workflow to complete Milestone 1
- Closed