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

Set the Kind when returning a topology.SelectedServer

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.6
    • Affects Version/s: 0.0.5
    • Component/s: Server Selection
    • Labels:
      None

      When returning a *topology.SelectedServer from the server selection process, the `Kind` property is not set. This causes the slaveOk bit to not be set when doing reads against a directly connected secondary.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: