[JAVA-669] Read preference not included in commands sent to mongos Created: 17/Oct/12  Updated: 26/Nov/12  Resolved: 16/Nov/12

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.9.1
Fix Version/s: 2.10.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PYTHON-403 Don't use $query when querying agains... Closed

 Description   

The $readPreference meta operator is not included in command queries sent to mongos, as it is for regular queries. It should be, so that mongos can route commands appropriately.



 Comments   
Comment by auto [ 15/Nov/12 ]

Author:

{u'date': u'2012-11-14T01:49:10Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-669: Setting $readPreference meta-operator for commands sent to mongos
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7e614ec8b1414d7b97bf6f5fc3e8931b990962ae

Comment by Jeffrey Yemin [ 20/Oct/12 ]

Removed from 2.9.2. Not going to make the release train. Consider for 2.9.3, if there is one.

Comment by Jeffrey Yemin [ 17/Oct/12 ]

See the pymongo issue for more implementation details.

Generated at Thu Feb 08 08:52:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.