-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.1.0
-
Component/s: Server Selection
-
None
-
Fully Compatible
The server selection specification allows for some basic retry scenarios which should be implemented:
- repeating server selection if, after selection, a socket is determined to be unsuitable before a message is sent on it
- for a read operation, after a socket error, selecting a new server meeting the read preference and resending the query
- for a write operation, after a "not master" error, selecting a new server (to locate the primary) and resending the write operation