Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4532

Add retry behavior for handshake failures in mongoc_cluster_stream_for_server

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: