-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
Affects Version/s: 1.5.3
-
Component/s: Options & Configuration
-
None
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.
if t.cfg.uri != "" { t.pollingRequired = strings.HasPrefix(t.cfg.uri, "mongodb+srv://") }
- is duplicated by
-
GODRIVER-2057 SRV polling is not spawned because options.MergeClientOptions doesn't handle uri properly
-
- Closed
-
- related to
-
GODRIVER-908 options.MergeClientOptions doesn't handle errors properly
-
- Closed
-
-
GODRIVER-1507 SRV polling not performed if the URI is not passed to the topology
-
- Closed
-
-
GODRIVER-2069 Add srv polling integration test
-
- Closed
-