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

Simplify server error handling in unified topology

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: