Ensure that aggregate and mapReduce MongoIterables wait for any collection based operations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Async
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently there is a race and the aggregate / map reduce returns immediately with a MongoIterable which could be iterated before the aggregate / map reduce has completed.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: