[GODRIVER-2057] SRV polling is not spawned because options.MergeClientOptions doesn't handle uri properly Created: 22/Jun/21 Updated: 29/Jun/21 Resolved: 28/Jun/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Hoonmin Kim | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
It seems that SRV polling is not spawned when using `opts.ApplyURI()` without (deprecated) deployment options. That's because options.MergeClientOptions doesn't copy "uri" field. Then topology.New gets options with empty uri value, and polling is disabled.
|
| Comments |
| Comment by Githook User [ 29/Jun/21 ] |
|
Author: {'name': 'Hoonmin Kim', 'email': 'harebox@gmail.com', 'username': 'hoonmin'}Message: |
| Comment by Githook User [ 29/Jun/21 ] |
|
Author: {'name': 'Hoonmin Kim', 'email': 'harebox@gmail.com', 'username': 'hoonmin'}Message: |