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

Refactor mongodb-core to use a single Topology type

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: None
    • Component/s: Core
    • None

      Our Mongos and ReplSet topology types are not in fact topologies, they both represent containers of connections to servers. Together they comprise about 5k lines of code that mostly duplicate each other, with subtle differences (pickServer vs pickProxy). Since we already have a robust concept of TopologyDiscription s from SDAM, we should be able to combine the two of these, deduplicate the code, and reuse them for both deployment types.

            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: