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

Remove usage of nodeOpts as a ReplSetTest parameter

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2024-04-01

      There are tests in our jstests/multiVersion directory that need to specify the binary version for replica sets starting with the ReplSetTest fixture. Some of these tests use the parameter `nodeOpts` as the field name for the options object, such as here or here.

      'nodeOpts' as actually an invalid field name. The ReplSetTest fixture expects 'nodeOptions' instead, such as here. The reason these tests aren't failing is because every current usage of 'nodeOpts' tries to set the binary version to latest, and even though the parameter is completely ignored, the node defaults to starting in the latest binary.

            Assignee:
            ali.mir@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: