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

Add proper handling of SelectionCriteria

    • 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
    • None

      The operation executor needs to conditionally add a read preference to built commands depending on the selection criteria and the topology. This can be done using update_command_with_read_pref on TopologyDescription.

      As part of this, we should define a common test similar to handle_command_error that all operations which accept selection criteria should call through to.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: