Details
-
Bug
-
Resolution: Fixed
-
Critical - P2
-
1.5.3
-
None
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.
if t.cfg.uri != "" { |
t.pollingRequired = strings.HasPrefix(t.cfg.uri, "mongodb+srv://") |
}
|
Attachments
Issue Links
- 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
-