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

unclear error message when agg exceeds 64MBs document size

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Query Execution

      On some complex aggregations users get back:

      exception: BufBuilder attempted to grow() to 67108876 bytes, past the 64MB limit.
      Mongo Server error (MongoCommandException): Command failed with error 13548: 'BufBuilder attempted to grow() to 67108876 bytes, past the 64MB limit.' on server localhost:27017.
      {
          "ok" : 0.0,
          "errmsg" : "BufBuilder attempted to grow() to 67108876 bytes, past the 64MB limit.",
          "code" : NumberInt(13548),
          "codeName" : "Location13548"
      }
      

      This is very opaque. It would be nice to provide a nicer error message that at least gives them an idea of where to start looking.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: