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

Aggregate with allowDiskUse=true does not work for larger collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.5
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Operating System:
      OS X
    • Steps To Reproduce:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: