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

Do not block unnecessarily on connecting to mongod or finishing initiate in ReplSetTest and ShardingTest

    • Replication

      ReplSetTest starts up multiple mongods and ShardingTest starts up multiple ReplSetTest's but each are done serially. Test startup could probably be sped up significantly by doing some of this work in parallel. Rather than truly doing this in parallel, we can simply delay connecting to each node until we've started up all of the nodes in a ReplSetTest. Similarly, we can delay calling "awaitSecondaryNodes()" for each ReplSetTest until we've called initiate on each ReplSetTest. This allows most of startup and initiate to be done in parallel both within one ReplSetTest and among multiple ReplSetTests in a ShardingTest.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: