Skip to content

Commit d13faac

Browse files
pdan101Evergreen Agent
authored andcommitted
SERVER-79000 Disabled plan cache for search in SBE
1 parent 035ecbb commit d13faac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mongo/db/query/query_solution.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,10 @@ struct SentinelNode : public QuerySolutionNode {
16871687
};
16881688

16891689
struct SearchNode : public QuerySolutionNode {
1690-
explicit SearchNode(bool isSearchMeta) : isSearchMeta(isSearchMeta) {}
1690+
explicit SearchNode(bool isSearchMeta) : isSearchMeta(isSearchMeta) {
1691+
// TODO SERVER-78565: Support $search in SBE plan cache
1692+
eligibleForPlanCache = false;
1693+
}
16911694

16921695
StageType getType() const override {
16931696
return STAGE_SEARCH;

0 commit comments

Comments
 (0)