When looking for an initial $match stage to push down to the find layer, we pop the stage and store a BSONObj representing the MatchExpression. Later when building the CanonicalQuery, we re-parse this same BSONObj despite the fact that the $match stage already had the parsed version.
Remove redundant MatchExpression parse when pushing down leading $match stage
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: