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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              judah.schvimer Judah Schvimer
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: