[SERVER-3405] Mongos does not send some commands to slaves with slaveOk: Group, count, ... Created: 10/Jul/11  Updated: 12/Jul/16  Resolved: 05/Aug/11

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

Type: Improvement Priority: Major - P3
Reporter: Antoine Girbal Assignee: Greg Studer
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Description   

group is pretty heavy and is read only, so should run on slaves with slaveOk.
Count was also reported as not going to slaves.



 Comments   
Comment by Greg Studer [ 05/Aug/11 ]

geoNear will still not go to slaves with slaveOk - requires separate fix

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: add options to Futures SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/d42d4c2a0c95bb62f203fc0269b343c318d2020d

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: rename method SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/a6f8968570f2d8b47c406473d32d2a7fd9b3614d

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: full API change to command interface, add options SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/e5d902202fdd4fe396ed3a404594e7eade3dfa90

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: test for count and distinct with slaveok SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/a1b65c6c7608e38bda2eefdd78b8e0c1ecb8eba1

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: change command api to allow command options SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/cc43fc3e4acce9b6bf5558f6f61f828b9a7b6fb9

Comment by auto [ 27/Jul/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: test and group slaveok fix for SERVER-3405
Branch: master
https://github.com/mongodb/mongo/commit/0a3a147ffb9e726dec50bf121ba82e9b650f6e2b

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