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

Difficult to tell if running on an openSource or Enterprise version of the server

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Admin
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Build 9 (09/18/15), Build A (10/09/15)

      Description

      Today there is no universal clean cut way of quickly distinguishing whether you are connected to an enterprise version of the server or not.

      There appear to be 2 ways of programmatically doing this.

      1. db.adminCommand('buildinfo') -> Will tell me whether or not it is an enterprise build in the modules section.

      2. running mongod --help will have enterprise only flags enabled.

      These require that I either have admin privileges to the database or access to the raw binary. There should be a simple & quick way in which to distinguish this in order to make sure the correct versions are being deployed across projects.

      The shell should have some way of distinguishing it, such as

      ajeair:Enterprise Primary>

      .

      Furthermore, there should be some way of being able to easily check from the drivers as well. Whether through the version() or some other runCommand.

        Attachments

          Activity

            People

            Assignee:
            jonathan.reams Jonathan Reams
            Reporter:
            osmar.olivo Osmar Olivo
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: