-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
The server selectors in the Go Driver return the "ServerSelector" interface:
- CompositeSelector
- LatencySelector
- WriteSelector
- ReadPrefSelector
They should each be updated to return a struct that consumes a ServerSelectionFunc and any other information that is required to perform a server selection.
Rationale: Preempting the interface is not really necessary in any of these cases and makes the code fairly confusing.
- has to be done after
-
GODRIVER-2965 Make the "description" package internal
-
- Closed
-
- related to
-
GODRIVER-2572 Add log messages to Server selection spec
-
- Closed
-