diff options
author | Mihai Andrei <mihai.andrei@10gen.com> | 2022-05-17 02:12:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-17 02:38:30 +0000 |
commit | 7ed364e8922e42822c2d1bc2e41a66159eb7ddcb (patch) | |
tree | 02e786c32a59ea572097ab0e9269846dc1d664e1 /jstests/noPassthrough/agg_group.js | |
parent | 252235fda4d45e85db342bb6437b1587b980b1ed (diff) | |
download | mongo-7ed364e8922e42822c2d1bc2e41a66159eb7ddcb.tar.gz |
SERVER-66445 Make the classic engine the default execution engine
(cherry picked from commit 40109e237a0ffaf41d26b5465920d12bc6a3f304)
Diffstat (limited to 'jstests/noPassthrough/agg_group.js')
-rw-r--r-- | jstests/noPassthrough/agg_group.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/agg_group.js b/jstests/noPassthrough/agg_group.js index 234237baf72..885c43852d2 100644 --- a/jstests/noPassthrough/agg_group.js +++ b/jstests/noPassthrough/agg_group.js @@ -42,8 +42,8 @@ st.ensurePrimaryShard(db.getName(), st.shard0.shardName); let assertShardedGroupResultsMatch = (coll, pipeline) => { // Turns to the classic engine at the shard before figuring out its result. - assert.commandWorked( - dbAtShard.adminCommand({setParameter: 1, internalQueryForceClassicEngine: true})); + assert.commandWorked(dbAtShard.adminCommand( + {setParameter: 1, internalQueryEnableSlotBasedExecutionEngine: false})); // Collects the classic engine's result as the expected result, executing the pipeline at the // mongos. @@ -52,8 +52,8 @@ let assertShardedGroupResultsMatch = (coll, pipeline) => { .cursor.firstBatch; // Turns to the SBE engine at the shard. - assert.commandWorked( - dbAtShard.adminCommand({setParameter: 1, internalQueryForceClassicEngine: false})); + assert.commandWorked(dbAtShard.adminCommand( + {setParameter: 1, internalQueryEnableSlotBasedExecutionEngine: true})); // Verifies that the SBE engine's results are same as the expected results, executing the // pipeline at the mongos. |