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

Make the remote command execution in ReplicationExecutor::NetworkInterface asynchronous

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.8
    • None
    • Replication
    • None
    • Fully Compatible

    Description

      This facilitates testing, and nearly obviates the need for a thread pool in the ReplicationExecutor itself. The implementation in mongod of the NetworkInterface will continue to use a thread pool for now, but it's no longer required, and the one in the unit tests will be thread-pool free. This makes it easier to write deterministic unit tests of network activity.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: