Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1806

Individual connections do not go through a proper handshake process

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: Not Applicable
    • Fix Version/s: 3.2.0
    • Component/s: cmap, core
    • Labels:
      None
    • MongoDB Version:
      Not Applicable

      Description

      The driver only follows the specified MongoDB handshake on the first connection made to a given server. The spec requires that:

      The isMaster handshake MUST be performed on every socket to any and all servers upon establishing the connection to MongoDB, including reconnects of dropped connections and newly discovered members of a cluster. It MUST be the first command sent over the respective socket. If the command fails the client MUST disconnect.

      CPAM requires that connections returned from a pool have already completed a handshake, so this should not be a problem in that future. In the meantime, this ticket serves to identify that the bug exists.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              matt.broadstone Matt Broadstone
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: