Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2143

Application connections use connectTimeoutMS as the timeout for handshake commands

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Handshake, Networking
    • None
    • Needed

      Currently, application connections use connectTimeoutMS for the initial connection establishment and then use socketTimeoutMS as the timeout for all subsequent reads/writes. It may be more robust to use connectTimeoutMS for the initial isMaster handshake and authentication commands (instead of socketTimeoutMS) to detect failures quicker.

      Note that this is lower priority because:

      1. The connection was just established so it should be rare for the initial isMaster to timeout.
      2. DRIVERS-555 Client Side Operation Timeout should eliminate this concern by unifying all timeouts.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: