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

Ensure Coordinator Began Resharding Before setFCV in setfcv_reshard_collection.js

    • Fully Compatible
    • ALL
    • Hide

      Add a sleep at the beginning of ConfigsvrReshardCollectionCommand::typedRun().

      Show
      Add a sleep at the beginning of ConfigsvrReshardCollectionCommand::typedRun().
    • Sharding 2022-07-11
    • 3
    • 1

      setfcv_reshard_collection.js contains two test cases, one testing lastLTSFCV and another testing latestFCV. The first of these will wait to ensure that the resharding coordinator has started before sending the set FCV command, while the second does not. This means that for the latestFCV case, it's possible that the FCV is set before the resharding operation begins on the config server, therefore causing the resharding operation to miss getting aborted during the upgrade procedure as seen in BF-25353.

            Assignee:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: