[GODRIVER-2056] SRV polling is not spawned because options.MergeClientOptions doesn't handle uri properly Created: 22/Jun/21 Updated: 28/Oct/23 Resolved: 29/Jun/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | 1.5.4 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Hoonmin Kim | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | 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 working when using `opts.ApplyURI()` without deprecated deployment options. This made us to restart the application when updating Route53 DNS SRV. I've found that `pollSRVRecords` is not running because URI is not passed to topology configuration. So `options.MergeClientOptions` must copy URI like errors to correctly determine the polling requirement.
|
| Comments |
| Comment by Isabella Siu (Inactive) [ 29/Jun/21 ] |
|
Thanks for reporting this bug! We'll try to get a fix for it into the next patch release. |