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

Coordinator should check participant states first before waiting

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • Sharding 2021-07-12
    • 2

      The resharding coordinator has a couple of _awaitAll* methods that waits for certain SharedPromise in the ReshardingCoordinatorObserver to get set. However, these promises are not properly set whenever a resharding resumes from a step up, so the coordinator should check if the condition it needs to wait on has already been met before attempting to wait.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: