when $out is last stage, agg builder should not add any stages after it

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.14.0
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Sprint Tone Loc
    • None
    • None

      When I added $out aggregation stage, I got error "$out can only be the final stage in the pipeline" probably because a $limit was automatically tacked on after it.  Such limit should be omitted after "$out".

       

            Assignee:
            Durran Jordan
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: