Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
None
-
None
-
None
-
None
Description
The server selectors in the Go Drive 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.
Attachments
Issue Links
- has to be done after
-
GODRIVER-2965 Make the "description" package internal
-
- Blocked
-
- related to
-
GODRIVER-2572 Add log messages to Server selection spec
-
- Closed
-