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

Shell MongoRunner.arrOptions should not filter out 0 value test defined server parameters

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc9, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-06-15

      This is a spin off of SERVER-45642, because it is a significant change: it was reviewed there. This also may need to be backported differently.

      To understand the problem,

      MongoRunner.runMongod({foo: 0})
      

      currently hands the server --foo, instead of --foo=0, due to this filtering here.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: