[SERVER-15904] Inconsistent version output information from different binaries Created: 31/Oct/14  Updated: 09/Apr/20

Status: Open
Project: Core Server
Component/s: Usability
Affects Version/s: 2.6.5, 2.7.8
Fix Version/s: features we're not sure of

Type: Improvement Priority: Trivial - P5
Reporter: Andrew Emil (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 1
Labels: 28qa, move-sa, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-15884 mongod --version shouldn't print date... Closed
Participants:

 Description   

The data output from various binaries is very inconsistent and may also contain unneeded information. We should attempt to clean this up and make it consistent.

Example:

[ace@h mongo]$ ./mongo --version
MongoDB shell version: 2.7.9-pre-
[ace@h mongo]$ ./mongod --version
db version v2.7.9-pre-
2014-10-31T12:58:59.280-0400 I CONTROL  git version: 1b516e4defb1dc7115d96e6936684610246eb470
[ace@h mongo]$ ./mongos --version
MongoS version 2.7.9-pre- starting: pid=14050 port=27017 64-bit host=Andrew-Emil-MacBook-Pro.local (--help for usage)
git version: 1b516e4defb1dc7115d96e6936684610246eb470
 
build sys info: Darwin Andrew-Emil-MacBook-Pro.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49



 Comments   
Comment by Andy Schwerin [ 15/Apr/16 ]

I believe this boils down to a feature request that --version have the same output for all mongo binaries.

Comment by Daniel Pasette (Inactive) [ 11/Jan/15 ]

It would be nice to have those be consistent. Also, I'd like to have the git version in each binary.

Comment by Matt Kangas [ 03/Nov/14 ]

Duplicate of SERVER-15884? Closely related at minimum.

Generated at Thu Feb 08 03:39:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.