[SERVER-18607] Difficult to tell if running on an openSource or Enterprise version of the server Created: 15/May/15 Updated: 15/Oct/15 Resolved: 13/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Osmar Olivo | Assignee: | Jonathan Reams |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Build 9 (09/18/15), Build A (10/09/15) | ||||
| Participants: | |||||
| 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
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. |
| Comments |
| Comment by Githook User [ 13/Oct/15 ] | ||||||||||||||
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: | ||||||||||||||
| Comment by Max Hirschhorn [ 12/Oct/15 ] | ||||||||||||||
|
Reverted due to failure in gle_shell_server5441.js.
| ||||||||||||||
| Comment by Githook User [ 12/Oct/15 ] | ||||||||||||||
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Revert " This reverts commit 0da3d37f6c8ada55e523b7176378ca047a0fa985. | ||||||||||||||
| Comment by Githook User [ 12/Oct/15 ] | ||||||||||||||
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: | ||||||||||||||
| Comment by Githook User [ 18/Sep/15 ] | ||||||||||||||
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |