[SERVER-11330] mongodump --version runs the actual command Created: 23/Oct/13  Updated: 19/Dec/13  Resolved: 30/Oct/13

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.5.3
Fix Version/s: 2.5.4

Type: Bug Priority: Minor - P4
Reporter: Gianfranco Palumbo Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X v10.8.5
and
Ubuntu 12.04


Issue Links:
Related
is related to SERVER-8510 Move command line parsing into MONGO_... Closed
Operating System: ALL
Participants:

 Description   

In 2.4.7 it displays the version, not in 2.5.3

$ mongodump --version
mongodump version 2.4.7

$ mongodump --version
connected to: 127.0.0.1
2013-10-23T16:25:25.654+0100 all dbs
2013-10-23T16:25:25.658+0100 DATABASE: *	 to 	dump/*
2013-10-23T16:25:25.658+0100 	*.system.indexes to dump/*/system.indexes.bson
2013-10-23T16:25:25.658+0100 		 1 objects
2013-10-23T16:25:25.658+0100 	*.test to dump/*/test.bson
2013-10-23T16:25:25.659+0100 		 1 objects
...

the mongod commit is 78a5cc81af2209e10e1357a41e02f1689b60ef1e

Please check if other command line options are correctly working.
Maybe some js tests need to be expanded



 Comments   
Comment by auto [ 30/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11330 Check for version switch in tools
Branch: master
https://github.com/mongodb/mongo/commit/9cdbbf0f2dd835cf1d316bac3a7e02e4bc2c84f3

Comment by Shaun Verch [ 23/Oct/13 ]

gianfranco Can see what the issue is now, and am working on a fix. There's a missing call that I need to add back in.

Comment by Gianfranco Palumbo [ 23/Oct/13 ]

I think this is due to changes in SERVER-8510

Comment by Gianfranco Palumbo [ 23/Oct/13 ]

This is what happens on linux:

$ mongodump --version
2013-10-23T15:47:49.072+0000 warning: Failed to connect to 127.0.0.1, reason: errno:111 Connection refused
couldn't connect to [127.0.0.1] couldn't connect to server 127.0.0.1:27017

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