Correctly check for failure in mongos setAuditConfig

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 7.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • v7.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Note that this is actually fixed in master, but not in 7.0. We forward setAuditConfig to the config server with runCommand, but we only check the result of runCommand and not the commandStatus of the response, meaning we incorrectly succeed when the config server command fails.

            Assignee:
            Gabriel Marks
            Reporter:
            Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: