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

ShardingTest should run the stop procedure for all of its ReplSetTest shard instances in parallel

    • Fully Compatible
    • Repl 2019-12-16, Sharding 2021-08-09, Sharding 2022-07-11, Sharding 2022-07-25, Sharding 2022-08-08, Sharding 2022-08-22

      Currently, ShardingTest calls stopSet on each of its shard ReplSetTest instances serially. This means that it is not possible to be stopping processes from multiple shards at the same time. To make this stop procedure faster when there are many shards, ShardingTest can stop all ReplSetTest instances at the same time, without waiting for one to complete before moving on to the next one. It can then wait for all shard stop procedures to finish. This will allow the stopping of all shard ReplSetTest instances to proceed in parallel.

       

       

            Assignee:
            kruti.shah@mongodb.com Kruti Shah
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: