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

queryStats enabled for agg can cause a previously-working query to fail

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0
    • Hide

      Attached js test file reproduces this issue

      Show
      Attached js test file reproduces this issue

      Aggregations on sharded clusters that return a result that is just under the 16MB BSONObj limit can succeed with query stats disabled, but fail due to exceeding the limit with query stats enabled. Adding the data-bearing nodes metrics to the response here is what causes the BSON on the shards to exceed the limit.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            claudia.cortell@mongodb.com Claudia Cortell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: