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

ShardingTest.restartAllMongos overwrites options on every iteration

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The code passes the opts object to restartMongos which adds a field for port to it.

      As a result, the next iteration has the port defined and crashes the restart since it will use the port set before.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: