Prevent $out to the same namespace as the aggregation for the new modes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.5
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2018-11-05, Query 2018-11-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      To avoid a "Halloween Problem" scenario, we will prevent writing to a collection with $out while simultaneously reading from that collection as the source aggregation collection. An exception will be made when the mode is "replaceCollection", because the use of a temporary namespace prevents an infinite loop of reads and writes.

            Assignee:
            Devin Hilly (Inactive)
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: