[SERVER-74198] Query planner sets RETURN_OWNED_DATA flag unconditionally Created: 21/Feb/23  Updated: 29/Oct/23  Resolved: 25/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Rui Liu Assignee: Rui Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2023-03-06
Participants:
Linked BF Score: 35

 Description   

We're setting RETURN_OWNED_DATA flag unconditionally even when we should produce empty docs.

Perf builds:

performance
sys-perf



 Comments   
Comment by Githook User [ 25/Feb/23 ]

Author:

{'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}

Message: SERVER-74198 Don't set RETURN_OWNED_DATA flag when producing empty docs
Branch: master
https://github.com/mongodb/mongo/commit/2f6ef2d06acc9b925c7c34ca66bcc16a1fe85ead

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