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

Aggregation Query returning exception: Version 2.6

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: