[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: SERVER-43877 Remove raw projection BSON from projection stages
Branch: master
https://github.com/mongodb/mongo/commit/7c7bf229e2e1a911ad636e8d7827b2918215b357

Generated at Thu Feb 08 05:04:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.