Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-233

Add topology helper to update command with read preference

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.9.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Because the server selection spec mandates that $readPreference is set only in certain circumstances depending on the topology and server type, we should add a topology helper that takes a Command, a ServerType, and a SelectionCriteria, and updates the Command as needed.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: