[SERVER-80379] Query planner should set extraFieldPermitted on CSI node more conservatively Created: 24/Aug/23  Updated: 29/Oct/23  Resolved: 31/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc1

Type: Bug Priority: Critical - P2
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.1, v7.0
Participants:
Linked BF Score: 23

 Description   

The query planner sets this flag too loosely, when any projection follows. This bug was exposed once we started pushing $addFields into SBE.



 Comments   
Comment by Githook User [ 28/Aug/23 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'borosaurus'}

Message: SERVER-80379 Make Query planner more conservative about allowing extra fields from CSI
Branch: master
https://github.com/mongodb/mongo/commit/eac4507d975d1d7a23eececf0176b2961f53db98

Generated at Thu Feb 08 06:43:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.