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

Use a queue for server selection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The server selection loop is currently implemented as a rather complicated system of timers, calls to `selectServers` and listening for specific description changed events. This could all be replaced with something similar to the new connection pool's wait queue, greatly decreasing the complexity of this piece of code.

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

              Created:
              Updated:
              Resolved: