Even when using db.requestStart/requestEnd, unpin member when read preference changes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: 2.9.3
    • Component/s: Connection Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the driver pins a thread to a socket using DB.requestStart(), it should remember the read preference used for the first read. If a subsequent read has a different read preference, unpin the member and start the member-selection process from scratch and rebind the thread to a different socket.

      Currently, the driver ignores changes to read preference on queries performed within DB.requestStart/requestEnd boundaries.

              Assignee:
              Unassigned
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: