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

Set the Kind when returning a topology.SelectedServer

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.0.6
    • 0.0.5
    • Server Selection
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: