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

$facet execution has no limit on how much memory it can consume

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2, v4.0, v3.6
    • Sprint:
      Query 2020-08-24
    • Case:
    • Linked BF Score:
      21

      Description

      A $facet always outputs one document, which can be 16MB in size at most, but it completely executes all of its pipelines no matter how large they are. For efficiency, the $facet should return an error as soon as it has >16MB of results, rather than waiting until it's computed all of its data.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.storch David Storch
              Reporter:
              justin.seyster Justin Seyster
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: