[SERVER-2462] mongodump doesn't work - assertion: 13106 nextSafe(): { $err: "unrecognized command: availablequeryoptions", code: 13390 } Created: 01/Feb/11  Updated: 12/Jul/16  Resolved: 02/Feb/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.7.5
Fix Version/s: 1.7.6

Type: Bug Priority: Major - P3
Reporter: David Mytton Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: Linux
Participants:

 Description   

mongodump no longer works in 1.7.5.

david@backup1 ~: /home/david/mongodb/latest/bin/mongodump --host localhost --db sd --collection alerts --out test
connected to: localhost
DATABASE: sd to test/sd
sd.alerts to test/sd/alerts.bson
assertion: 13106 nextSafe():

{ $err: "unrecognized command: availablequeryoptions", code: 13390 }

 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Feb/11 ]

Yes, definitely SERVER-2466

Comment by David Mytton [ 02/Feb/11 ]

Latest nightly (2 Feb):

david@backup1 ~: /home/david/mongodb/latest/bin/mongodump --host localhost --db sd --collection alerts --out test
connected to: localhost
DATABASE: sd to test/sd
sd.alerts to test/sd/alerts.bson
assertion: 13106 nextSafe():

{ $err: "getMore: cursor didn't exist on server, possible restart or timeout?", code: 13127 }

mongos

Wed Feb 2 15:58:00 [Balancer] about to contact config servers and shards
Wed Feb 2 15:58:00 [Balancer] updated set (set1) to: set1/rs1a:27018,rs1b:27018
Wed Feb 2 15:58:00 [Balancer] updated set (set2) to: set2/rs2b:27018,rs2a:27018
Wed Feb 2 15:58:00 [Balancer] updated set (set3) to: set3/rs3a:27018,rs3b:27018
Wed Feb 2 15:58:00 [Balancer] config servers and shards contacted successfully
Wed Feb 2 15:58:00 [Balancer] balancer id: backup1:27017 started at Feb 2 15:58:00
Wed Feb 2 15:58:07 [conn1] creating WriteBackListener for: set1/rs1a:27018,rs1b:27018
Wed Feb 2 15:58:07 [conn1] creating WriteBackListener for: set2/rs2b:27018,rs2a:27018
Wed Feb 2 15:58:07 [conn1] creating WriteBackListener for: set3/rs3a:27018,rs3b:27018
Wed Feb 2 15:58:07 [conn1] ~ScopedDbConnection: _conn != null

Looks like SERVER-2466 ?

Comment by Eliot Horowitz (Inactive) [ 02/Feb/11 ]

just mongos

Comment by David Mytton [ 02/Feb/11 ]

Does this fix just require an update to mongos or does mongod also need to be on this version?

Comment by auto [ 02/Feb/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: move availableQueryOptions to dbcommands_generic so it works in mongos SERVER-2462
https://github.com/mongodb/mongo/commit/76585f8f2e6b21b9066b61926c44300bd576dcf8

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