[GODRIVER-419] Set the Kind when returning a topology.SelectedServer Created: 18/May/18 Updated: 23/May/18 Resolved: 23/May/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Server Selection |
| Affects Version/s: | 0.0.5 |
| Fix Version/s: | 0.0.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
When returning a *topology.SelectedServer from the server selection process, the `Kind` property is not set. This causes the slaveOk bit to not be set when doing reads against a directly connected secondary. |
| Comments |
| Comment by Githook User [ 23/May/18 ] |
|
Author: {'username': 'skriptble', 'name': 'Kris Brandow', 'email': 'kris@mongodb.com'}Message: Enable reading from secondaries Change-Id: Ib4edb546db7491300dccdf2a435420c323a4b09b |
| Comment by Kristofer Brandow (Inactive) [ 18/May/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/411752. |