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

Correctly check for failure in mongos setAuditConfig

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc1
    • None
    • None
    • None
    • ALL
    • v7.0

    Description

      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.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: