[SERVER-2474] mongos doesn't recognize command wrapped with query Created: 03/Feb/11  Updated: 12/Jul/16  Resolved: 05/Apr/11

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

e.g., {query : {ismaster : 1}} isn't recognized as the ismaster command.



 Comments   
Comment by auto [ 05/Apr/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: support commands wrapped with $query SERVER-2474
Branch: master
https://github.com/mongodb/mongo/commit/98ce52215780e1d5675d0874bd61102ec8f2213e

Comment by Eliot Horowitz (Inactive) [ 05/Apr/11 ]

Yes

Comment by Mathias Stearn [ 05/Apr/11 ]

mongod doesn't support $query either. Should both be modified?

Comment by Eliot Horowitz (Inactive) [ 05/Apr/11 ]

We also need to support $query

Comment by auto [ 04/Apr/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Support commands like {query: {isMaster: 1}} in mongos SERVER-2474
Branch: master
https://github.com/mongodb/mongo/commit/af792b80100a0320f241ae88d9cf7a9705bbe975

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

Is there any driver that does that by default?

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