Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31416

Ban $changeStream stage in $lookup pipeline

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2017-10-23

      Description

      The $changeStream stage should not be allowed inside a $lookup pipeline, since there is no way to get "all" results from a tailable cursor. Also, while we do not currently allow the user to specify a pipeline for $graphLookup, and $changeStream is banned in views, we should look ahead to ensuring $changeStream is not allowed in a $graphLookup pipeline if we allow users to specify $graphLookup pipelines in the future.

        Attachments

          Activity

            People

            Assignee:
            bernard.gorman Bernard Gorman
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: