[SERVER-20198] Ignore slaveOk when checking cursor._options Created: 29/Aug/15 Updated: 19/Sep/15 Resolved: 02/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 3.1.7 |
| Fix Version/s: | 3.1.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Michael Grundy | Assignee: | Michael Grundy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | RPL 9 (09/18/15) | ||||
| Participants: | |||||
| Description |
|
Running crud_api.js against a replica set passthrough fails because asserts against cursor options are using a value that doesn't include slaveOK. Example:
|
| Comments |
| Comment by Githook User [ 31/Aug/15 ] |
|
Author: {u'username': u'mgrundy', u'name': u'Mike Grundy', u'email': u'michael.grundy@10gen.com'}Message: |
| Comment by Eric Milkie [ 31/Aug/15 ] |
|
Yes, we should AND off the bits we're not concerned with, in that assert check. |