[SERVER-18194] Commands shouldn't set slaveOk flag for readPreference=PRIMARY Created: 23/Apr/15 Updated: 07/Dec/16 Resolved: 15/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Misha Tyulenev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding B (10/30/15) | ||||||||
| Participants: | |||||||||
| Description |
|
Currently it sets it any time readPreference is supplied: https://github.com/mongodb/mongo/blob/r3.1.1/src/mongo/db/dbcommands.cpp#L1609-L1613 |
| Comments |
| Comment by Githook User [ 15/Oct/15 ] |
|
Author: {u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}Message: |