[SERVER-80672] Improve the check for unpack stage compatibility with SBE Created: 31/Aug/23 Updated: 02/Nov/23 Resolved: 02/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Gil Alon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Integration
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QI 2023-11-13 |
| Participants: |
| Description |
|
Currently, in DocumentSourceInternalUnpackBucket::isSbeCompatible() we consider the unpack stage to be incompatible with SBE if there is an incompatible expr anywhere in the pipeline. This would prevent the stage from lowering to SBE if there are stages later in the pipeline that use expressions, not compatible with SBE. This would complicate the test matrix (especially for perf) and potentially confuse the end-users and support as lowering of bucket unpacking will be affected by unrelated parts of the pipeline. |
| Comments |
| Comment by Githook User [ 02/Nov/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |