From 6b6e686be20ed63446111445982513ebfb94a8cb Mon Sep 17 00:00:00 2001 From: David Storch Date: Thu, 30 Jul 2020 14:24:45 -0400 Subject: SERVER-40317 Fail query when $facet intermediate output exceeds 100MB Co-authored-by: Justin Seyster Co-authored-by: Jacob Evans (cherry picked from commit e0bbfe119331514119c6f573eac9998ccf2a3dbe) --- jstests/aggregation/bugs/server5932.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'jstests/aggregation/bugs') diff --git a/jstests/aggregation/bugs/server5932.js b/jstests/aggregation/bugs/server5932.js index 1c2752297c5..970892e71b2 100644 --- a/jstests/aggregation/bugs/server5932.js +++ b/jstests/aggregation/bugs/server5932.js @@ -1,4 +1,10 @@ // server-5932 Cursor-based aggregation +// +// @tags: [ +// # The result set produced by this test is large, so when wrapped in a $facet, the maximum +// # intermediate document size would be exceeded. +// do_not_wrap_aggregations_in_facets, +// ] var t = db.server5932; t.drop(); -- cgit v1.2.1