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

Only attach loadBalanced: true to handshake when specified explicitly in options

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.10.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 1
    • Not Needed

      According to the load balancer spec, loadBalanced: true is only supposed to be attached to the handshake document when loadBalanced: true is explicitly provided.  If loadBalanced: false is specified or the loadBalanced option is not set, then the loadBalanced options should not be set on the handshake document at all.

      Acceptance Criteria

      • Only set the loadBalanced option on the handshake document if it is explicitly enabled as an option. 

            Assignee:
            daria.pardue@mongodb.com Daria Pardue
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: