Add proper handling of SelectionCriteria

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.9.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: