Suppress "unrecognized parameter waitForStepDownOnNonCommandShutdown" log

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-05-18
    • 40
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In ReplSetTest, starting with SERVER-46952, we log on shutdown:

      assert: command failed: {
      "ok" : 0,
      "errmsg" : "attempted to set unrecognized parameter [waitForStepDownOnNonCommandShutdown], use help:true to see options "
      }
      

      This can confuse humans and tools that search for assertion failures to diagnose test failures. I propose we check for this specific error from setParameter and suppress it in replsettest.js, while allowing other errors from setParameter to bubble up.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: