[SERVER-43877] Remove raw projection BSON from projection stages Created: 08/Oct/19 Updated: 29/Oct/23 Resolved: 05/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.3 Desired |
| Fix Version/s: | 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Anton Korshunov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2019-11-18 |
| Participants: |
| Description |
|
Currently we store a raw projection BSON within the base projection stage This BSON object is required (after the stage has been constructed) to populate projection stats, which is only used by explain. If we can know up-front whether we will actually need to populate the stats, then we can pass the raw projection as an optional parameter, instead of keeping it around all the time. This ticket is created to consider this possibility. |
| Comments |
| Comment by Githook User [ 05/Nov/19 ] |
|
Author: {'name': 'Anton Korshunov', 'username': 'antkorsh', 'email': 'anton.korshunov@mongodb.com'}Message: |