Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1642

Ensure server descriptions always have an address

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.3.5
    • None
    • None
    • None

    Description

      We construct server descriptions by hand in error cases and sometimes do not include an address. My understanding is that such descriptions will be ignored by topology.apply, so this is a bug. We should add constructors to description/server.go for the relevant description types we need and make sure topology/server.go always uses them.

      Attachments

        Activity

          People

            isabella.siu@mongodb.com Isabella Siu (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: