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

improve appendSetParameterArgs version checks in servers.js

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • Execution Team 2020-10-19

    Description

      The version checks for filtering the setParameter key-value pairs for starting up mongod and mongos binaries in tests is done in appendSetParameterArgs() in servers.js. The current state of the version checks can be a little hard to parse because we have to check if we are dealing with the latest version of the binary (!programMajorMinorVersion) or a previous binary version ({e.g. {programMajorMinorVersion >= 440}}). It would be nice to find a way to make these checks easier to understand.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: