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

Aggregate with allowDiskUse=true does not work for larger collections

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.5
    • Aggregation Framework
    • None
    • OS X
    • Hide

      Invoke BugRep.js (see attachement):

      mongo localhost:27017/local BugRep.js

      For different test data change the parameter of createTestData("test", 10000, 20, 4, 20) - the second parameter determines the number of documents in the test collection.

      Show
      Invoke BugRep.js (see attachement): mongo localhost:27017/local BugRep.js For different test data change the parameter of createTestData("test", 10000, 20, 4, 20) - the second parameter determines the number of documents in the test collection.

    Description

      I get wrong results using aggregation with collections sizes greater than ca. 10000. It depends on the generated test data. Probably an exception is thrown and the aggregation fails.

      Attachments

        1. BugRep.js
          3 kB
        2. BugRepLog1.txt
          5 kB
        3. CorrectLog1.txt
          3 kB

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            obelaifa Oliver Belaifa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: