ShardingTest.restartAllMongos overwrites options on every iteration

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2025-09-15
    • 1
    • None
    • 3
    • 🟩 Routing and Topology
    • 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:
              Anna Maria Nestorov
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: