[GODRIVER-1507] SRV polling not performed if the URI is not passed to the topology Created: 02/Mar/20 Updated: 28/Oct/23 Resolved: 03/Mar/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
We stopped using the topology.WithConnString option after introducing ApplyURI but this means that the topology doesn't know the URI used to create the Client and therefore cannot actually do things like SRV polling for mongos discovery. I propose the following:
|
| Comments |
| Comment by Githook User [ 03/Mar/20 ] |
|
Author: {'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}Message: |
| Comment by Githook User [ 03/Mar/20 ] |
|
Author: {'username': 'divjotarora', 'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com'}Message: |
| Comment by Divjot Arora (Inactive) [ 02/Mar/20 ] |
| Comment by Divjot Arora (Inactive) [ 02/Mar/20 ] |
| Comment by Ryan Chipman [ 02/Mar/20 ] |
|
SGTM. Thank you! |