Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51660

Propagate resharding fields through the enqueued metadata combination algorithm

    • 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.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: