-
Type: Sub-task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a Node.js engineer
I want to ensure we always perform one server selection upon entering execute operation
So that a client-side timeout setting is not expended inside "connect"
User Impact
- Without this fix a CSOT setting expires during connect rather than for the first operation in a client.
Dependencies
- SDAM. Topology.
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- topology.selectServer must perform initialization steps if it is the first server selection
- SRV lookup
- TLS file reading
- A MongoClient must always have a topology defined
- MongoClient.connect should perform a ping if there are credentials and skipPing is false
- Prevent automatically reconnecting
Testing Requirements
- All existing tests should pass
Documentation Requirements
- None
Follow Up Requirements
- None