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

suppress uncalled commands from db.serverStatus() in the shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • 2.7.8
    • Shell
    • None
    • Fully Compatible

    Description

      The introduction of command metrics in SERVER-7382 makes the current output of db.serverStatus() in the shell unreadable. It includes every possible command regardless of whether they are called or not (~144 commands). This is fine for machines to parse, but not for humans to read.

      It is easy to filter out commands that haven't been called in the javascript helper and doesn't require any changes to the server or flags to be added to the command.

      Attachments

        Activity

          People

            david.hows David Hows
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: