summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/planner_analysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/planner_analysis.cpp')
-rw-r--r--src/mongo/db/query/planner_analysis.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/query/planner_analysis.cpp b/src/mongo/db/query/planner_analysis.cpp
index 2f633c3c79b..b825199e964 100644
--- a/src/mongo/db/query/planner_analysis.cpp
+++ b/src/mongo/db/query/planner_analysis.cpp
@@ -625,10 +625,6 @@ bool isEligibleForHashJoin(const SecondaryCollectionInfo& foreignCollInfo) {
internalQueryCollectionMaxStorageSizeBytesToChooseHashJoin.load();
}
-bool isEligibleForIndexedLoopJoin() {
- return feature_flags::gFeatureFlagSBELookupPushdownIndexJoin.isEnabledAndIgnoreFCV();
-}
-
// static
void QueryPlannerAnalysis::determineLookupStrategy(
EqLookupNode* eqLookupNode,
@@ -672,7 +668,7 @@ void QueryPlannerAnalysis::determineLookupStrategy(
return boost::none;
}();
- if (foreignIndex && isEligibleForIndexedLoopJoin()) {
+ if (foreignIndex) {
eqLookupNode->lookupStrategy = EqLookupNode::LookupStrategy::kIndexedLoopJoin;
eqLookupNode->idxEntry = foreignIndex;
} else if (allowDiskUse && isEligibleForHashJoin(foreignCollItr->second)) {