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

Replicator always started on the same port

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2022-03-07

    Description

      By default, the replicator is started on port 27182. Use resmoke's ability to get a new port to set the port instead, otherwise multiple replicators cannot run on the same machine as they can't bind to the same port.

      This can be fixed by setting the --port CLI option when the ClusterToClusterFixture is set up. To get a port that is not in use, we can ask resmoke to give us one.

      See comments for example patch build.

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: