-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Server Discovery and Monitoring
-
None
We recently added support for two new URI options: srvServiceName and srvMaxHosts. These URI options now have corresponding fields on ClientOptions.
If a user calls ApplyURI, an SRV lookup will be performed for initial DNS seedlist discovery using the values in SRVMaxHosts and SRVServiceName. If a user has not yet called SetSRVServiceName or SetSRVMaxHosts before calling ApplyURI, their requested SRV options will not be honored.
We should move the SRV resolution logic to Client#Configure instead of ClientOptions#ApplyURI, so that the order of operations does not matter.