diff options
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.js | 13 |
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)); |