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

Aggregate with allowDiskUse=true does not work for larger collections

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.5
    • Component/s: Aggregation Framework
    • Labels:
      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.

      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.

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

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

              Created:
              Updated:
              Resolved: