[GODRIVER-561] Database.RunCommand should use the provided read preference for server selection Created: 17/Sep/18 Updated: 28/Oct/23 Resolved: 07/Nov/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Server Selection |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.18 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beta, newgrad | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The Database.RunCommand method does not currently use the readpref.ReadPref provided when doing server selection. Change the server selector used to be a read preference selector instead of a write selector. |
| Comments |
| Comment by Githook User [ 07/Nov/18 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@10gen.com'}Message: Change-Id: I2e2a2cc1783b1e0cb64d437f6a3e4e3b0124349f |