Test that $unionWith obeys the read preference set on the original command

XMLWordPrintableJSON

    • Fully Compatible
    • v4.4
    • Query 2020-03-09, Query 2020-04-06, Query 2020-04-20, Query 2020-05-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Split from SERVER-46309, confirm that the read preference is obeyed for the sub-operations in $unionWith.

        1. read_preference_stale_mongos.js
          3 kB
        2. union_with_read_preference.js
          7 kB
        3. debugging.patch
          15 kB
        4. union_with_read_preference_v2.js
          7 kB
        5. failing.resmoke.out
          3.99 MB
        6. passing.resmoke.out
          3.71 MB

            Assignee:
            Ted Tuckman
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: