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

Individual connections do not go through a proper handshake process

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: Not Applicable
    • Component/s: CMAP, Core
    • None

      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.

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

              Created:
              Updated:
              Resolved: