[GODRIVER-2209] Do not include default read preference on cursor getMore and killCursors commands Created: 29/Oct/21 Updated: 08/Nov/23 Resolved: 08/Aug/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 1.7.3 |
| Fix Version/s: | 1.12.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Preston Vasquez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Quarter: | FY24Q3 | ||||||||
| Case: | (copied to CRM) | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
|
Background & Motivation Cursor getMore and killCursors operations must target the same server that produced the cursor ID. Currently, the default read preference of primaryPreferred is included in the getMore and killCursors. This can be surprising to users logging CommandStarted events. The specifications do not note expected behavior with passing read preference to getMore and killCursors. See the attached main.go for a reproducible example. Scope
|
| Comments |
| Comment by Githook User [ 08/Nov/23 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}Message: |
| Comment by Githook User [ 08/Aug/23 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}Message: |