Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2045

Clarify that the default seed list should be ["localhost:27017"], not the server list

    • Type: Icon: Spec Change Spec Change
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: SDAM
    • Not Needed

      Currently, in server-discovery-and-monitoring.rst, we state that the default server list should be a list containing a single server at localhost:27017:

      servers: a set of ServerDescription instances. Default contains one server: "localhost:27017", ServerType Unknown.

      However, this does not seem to match the spec tests:

      {
        "topology_description_changed_event": {
          "topologyId": "42",
          "previousDescription": {
            "topologyType": "Unknown",
            "servers": []
          },
          "newDescription": {
            "topologyType": "Single",
            "servers": [
              {
                "address": "a:27017",
                "arbiters": [],
                "hosts": [],
                "passives": [],
                "type": "Unknown"
              }
            ]
          }
        }
      }
      

      This should probably refer to the seed list, not the server list. See this discussion on #drivers for more information.

      A big thanks to kevin.albertson for his help with this.

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            may.hoque@mongodb.com May Hoque
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: