summaryrefslogtreecommitdiff
path: root/jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-06-21 15:24:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-21 16:40:08 +0000
commitafc52bea57c8edb8769efa67c01ebbde5a87f50d (patch)
tree78c08e81653302171fa6b112699e106b28073248 /jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js
parent14e4a3f0521a6a7c1d65b549c013a9cd1c87bfed (diff)
downloadmongo-afc52bea57c8edb8769efa67c01ebbde5a87f50d.tar.gz
SERVER-67092 Delete 'featureFlagSBEGroupPushdown' and 'featureFlagSBELookupPushdown'
Diffstat (limited to 'jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js')
-rw-r--r--jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js b/jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js
index c3924654a74..ae525d14c17 100644
--- a/jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js
+++ b/jstests/sharding/query/lookup_graph_lookup_foreign_becomes_sharded.js
@@ -116,12 +116,10 @@ const isShardedLookupEnabled = getShardedLookupParam.hasOwnProperty("featureFlag
let res = st.getPrimaryShard(jsTestName()).getDB("admin").adminCommand({
getParameter: 1,
- featureFlagSBELookupPushdown: 1,
internalQueryForceClassicEngine: 1
});
-let isSBELookupEnabled = res.ok && res.hasOwnProperty("featureFlagSBELookupPushdown") &&
- res.hasOwnProperty("internalQueryForceClassicEngine") &&
- res.featureFlagSBELookupPushdown.value && !res.internalQueryForceClassicEngine;
+let isSBELookupEnabled = res.ok && res.hasOwnProperty("internalQueryForceClassicEngine") &&
+ !res.internalQueryForceClassicEngine;
// Now run a getMore for each of the test cases. The collection has become sharded mid-iteration, so
// we should observe the error code associated with the test case.
@@ -198,13 +196,6 @@ assert.commandWorked(shard0.getPrimary().adminCommand({fsync: 1}));
// both the source and foreign collections.
shard0.restart(shard0.getPrimary());
-// Refreshes the SBE lookup feature availability just in case that a different version of mongod
-// is running after restart.
-res = shard0.getPrimary().getDB("admin").adminCommand(
- {getParameter: 1, featureFlagSBELookupPushdown: 1});
-isSBELookupEnabled = res.ok && res.hasOwnProperty("featureFlagSBELookupPushdown") &&
- res.featureFlagSBELookupPushdown.value;
-
// Enable profiling on shard0 to capture stale shard version exceptions.
const primaryDB = shard0.getPrimary().getDB(jsTestName());
assert.commandWorked(primaryDB.setProfilingLevel(2));