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

Simplify server error handling in unified topology

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

      The Topology type currently is deeply coupled with error handling at the Server level. When an error occurs, the Server emits an error event, which in turn is processed by the Topology which calls emit back on the Server instance - a bit of a rats nest. Since there is nothing about error handling that needs details in the Topology, we can move all of this code into Server directly.

            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: