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

Suppress "unrecognized parameter waitForStepDownOnNonCommandShutdown" log

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

      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@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: