Test that $out cannot be run in combination with stages which must run on mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2018-12-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For example, the following pipeline is illegal and should error:

      db.aggregate([{$listLocalSessions: {}}, {$out: "test"}])
      

      I couldn't find any such test, but I believe this works and we just need to add a test for it.

            Assignee:
            Jacob Evans (Inactive)
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: