diff options
Diffstat (limited to 'jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js')
-rw-r--r-- | jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js b/jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js index 9107f1621b5..c5018e52c6a 100644 --- a/jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js +++ b/jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js @@ -14,7 +14,6 @@ load('jstests/libs/profiler.js'); // For various profiler helpers. load('jstests/aggregation/extras/utils.js'); // For arrayEq() load("jstests/libs/fail_point_util.js"); // for configureFailPoint. load("jstests/libs/log.js"); // For findMatchingLogLines. -load("jstests/libs/feature_flag_util.js"); // For isEnabled. const st = new ShardingTest({name: jsTestName(), mongos: 1, shards: 2, rs: {nodes: 2}}); @@ -510,12 +509,12 @@ assertAggResultAndRouting(pipeline, expectedRes, {comment: "lookup_foreign_does_ // collection and needs to target shards to properly resolve it. Then, it can use the local // read path for each subpipeline query. subPipelineLocal: [4, 0], - // If the $lookup is pushed down, we will try to take a lock on the foreign collection to check + // Because $lookup is pushed down, we will try to take a lock on the foreign collection to check // foreign collection's sharding state. Given that the stale shard version is resolved earlier // and we've figured out that the foreign collection is unsharded, we no longer need to target a // shard and instead can read locally. As such, we will not generate an entry in the profiler // for querying the foreign collection. - subPipelineRemote: FeatureFlagUtil.isEnabled(mongosDB, "SBELookupPushdown") ? [0, 0] : [1, 0], + subPipelineRemote: [0, 0], }); // |