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

Aggregation Query returning exception: Version 2.6

    • Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None

      Hi Team,

      We are running an aggregation query(Attached with issue) on a collection which consists of 200 million records on 3-node sharded cluster(AWS).

      Volume of records per day: 500,000 to 700,000.

      While running query for date range 1 month(January), we are getting result.

      If we run the same query with date range for more than 1 month, we are getting below exception:

      Error("Printing Stack Trace")@:0
      ()@src/mongo/shell/utils.js:37
      ([object Object],[object Object],[object Object],[object Object])@src/mongo/shell/collection.js:866
      @(shell):7
      
      uncaught exception: aggregate failed: {
                      "errmsg" : "exception: getMore: cursor didn't exist on server, possible restart or timeout?",
                      "code" : 13127,
                      "ok" : 0
      }
      

      Please let us know, if any modification requires in query execution.

        1. MongoQuery_modified.txt
          157 kB
          Jitendra Gehlot

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            jitendra.gehlot Jitendra Gehlot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: