Quoting mongodb/mongo-c-driver#1141 for CDRIVER-4192:
Note, mongoc_cluster_stream_for_server, which is used for other miscellaneous connections to the server, is deliberately not involved in these changes. This function may eventually require similar changes according to DRIVERS-2063.
CDRIVER-4192 implemented retry logic for handshake failure to all mongoc_cluster_stream_for_* methods except mongoc_cluster_stream_for_server. The PHP driver exclusively uses mongoc_cluster_stream_for_server for executing operations, as it performs its own server selection and then specifies a server_id option to libmongoc's execute methods.
- is depended on by
-
PHPLIB-1033 Improve test coverage for retryable handshake errors
- Backlog
-
PHPLIB-1042 Drivers should retry operations if connection handshake fails
- Closed
- is related to
-
CDRIVER-4192 Drivers should retry operations if connection handshake fails
- Closed