-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-99121 tried to do this, but there was a perf regression from the additional call to MatchExpression::serialize() at the end. SERVER-101070 fixed the perf regression by reverting joinMatchWith back to the old behavior. It would be preferable if joinMatchWith could operate over the MatchExpressions instead since the MatchExpression is kept up to date after pipeline optimization and the backing BSON is not, which means that calling joinMatchWith currently wastes any work done by optimization, and has the potential to bring back predicates that have been optimized away. This is part of what led to the issue fixed by SERVER-99121.
- depends on
-
SERVER-101003 Provide BSON views that keep the buffer alive
-
- Open
-
- related to
-
SERVER-99121 DocumentSourceMatch::joinMatchWith erroneously depends on the _predicate member
-
- Closed
-
-
SERVER-101070 Make DocumentSource::joinMatchWith operate over original BSON predicate instead of its MatchExpression
-
- Closed
-