[SERVER-78558] Establish mongot cursor before SBE builder Created: 29/Jun/23 Updated: 29/Oct/23 Resolved: 17/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Zixuan Zhuang | Assignee: | Zixuan Zhuang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Sub-Tasks: |
|
||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||
| Sprint: | QE 2023-08-07, QE 2023-08-21 | ||||||||||
| Participants: |
| Description |
|
Classic Document Source for $search establishes the cursor in createAdditionalPipelinesIfNeeded, but this is done after SBE pushdown/builder. We need something similar before SBE builder, and insert it into DocumentSourceSearch. Note that createAdditionalPipelinesIfNeeded also create the second pipeline/executor for metadata cursor for shard scenario, this is not part of the ticket. |
| Comments |
| Comment by Githook User [ 17/Aug/23 ] |
|
Author: {'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}Message: |
| Comment by Zixuan Zhuang [ 17/Jul/23 ] |
|
|
| Comment by Zixuan Zhuang [ 17/Jul/23 ] |
|
We need to force un-pinned cursor for this one, the sbe stage will establish another cursor, we should pin that one if the default value is true. |