Skip to content

Commit 44fa4e7

Browse files
auto-revert-app[bot]MongoDB Bot
authored and
MongoDB Bot
committedDec 9, 2024
Revert "SERVER-92457: Pushdown $group if entire shard key is specified in equalities in _id (#28721)" (#30061)
GitOrigin-RevId: 6010c4b8b5956cb28edd7d98557279ff46054a96
1 parent 5a4b83e commit 44fa4e7

33 files changed

+468
-4604
lines changed
 

‎jstests/aggregation/accumulators/accumulator_js_size_limits.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ res = runExample("$_id",
111111
lang: 'js',
112112
},
113113
{allowDiskUse: false});
114-
// If featureFlagShardFilteringDistinctScan is on, we will push this $group down to shards on
115-
// sharded collection passthrough suites, and may run out of space during JS execution of init().
116-
assert.commandFailedWithCode(
117-
res, [ErrorCodes.QueryExceededMemoryLimitNoDiskUseAllowed, ErrorCodes.JSInterpreterFailure]);
114+
assert.commandFailedWithCode(res, [ErrorCodes.QueryExceededMemoryLimitNoDiskUseAllowed]);
118115

119116
// Verify that having large number of documents doesn't cause the $accumulator to run out of memory.
120117
coll.drop();

‎jstests/query_golden/expected_output/distinct_aggregation_multiplanning.md

-2
Original file line numberDiff line numberDiff line change
@@ -2721,7 +2721,6 @@ Execution Engine: classic
27212721
},
27222722
{
27232723
"$group" : {
2724-
"$willBeMerged" : false,
27252724
"_id" : "$a",
27262725
"accum" : {
27272726
"$top" : {
@@ -2881,7 +2880,6 @@ Execution Engine: classic
28812880
},
28822881
{
28832882
"$group" : {
2884-
"$willBeMerged" : false,
28852883
"_id" : "$a",
28862884
"accum" : {
28872885
"$top" : {

0 commit comments

Comments
 (0)