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

mongod --version is formatted awkwardly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc6, 4.7.0
    • Component/s: Diagnostics
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Service arch 2020-05-18
    • Linked BF Score:
      0

      Description

      > mongod --version
      db version v4.5.0-472-gb74a814
      Build Info:{"version":"4.5.0-472-gb74a814"
       ,"gitVersion":"b74a8143ac2160f8687de2a222ce66af85a092de"
       ,"openSSLVersion":"OpenSSL 1.1.1  11 Sep 2018"
       ,"modules":[]
       ,"allocator":"tcmalloc"
       ,"environment":{"distmod":"ubuntu1804"
         ,"distarch":"x86_64"
         ,"target_arch":"x86_64"}}
      

      This is a very unusual formatting for a json document. Standard pretty-printed formatting would be something like

      Build Info: {
          "version": "4.5.0-472-gb74a814",
          "gitVersion": "b74a8143ac2160f8687de2a222ce66af85a092de",
          "openSSLVersion": "OpenSSL 1.1.1  11 Sep 2018",
          "modules": [],
          "allocator": "tcmalloc",
          "environment": {
              "distmod": "ubuntu1804",
              "distarch": "x86_64",
              "target_arch":"x86_64"
          }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              billy.donahue Billy Donahue
              Reporter:
              bruce.lucas Bruce Lucas
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: