[SERVER-34725] Group and count plan stages do not set the WorkingSetID output on PlanStage::DEAD state Created: 27/Apr/18  Updated: 29/Oct/23  Resolved: 01/May/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.6.5, 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Nicholas Zolnierz
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:
v3.6
Sprint: Query 2018-05-07
Participants:
Linked BF Score: 56

 Description   

As of this commit all uses of PlanExecutor are expecting a valid status member object on any type of failure in getNext(). If the executor dies at this spot in the group stage then the plan executor attempts to build a valid status member object which fails somewhat silently when the WorkingSetID is invalid.

Still working on a simpler repro...



 Comments   
Comment by Githook User [ 08/May/18 ]

Author:

{'email': 'nicholas.zolnierz@mongodb.com', 'name': 'Nick Zolnierz', 'username': 'nzolnierzmdb'}

Message: SERVER-34725: Group and count plan stages do not set the WorkingSetID output on PlanStage::DEAD state

(cherry picked from commit 46f72213f60bd74367a11aec7f02b38780ae7c3a)
Branch: v3.6
https://github.com/mongodb/mongo/commit/5cd9fda822a6a813b4e0c5eb0003f222d86c1f35

Comment by Githook User [ 01/May/18 ]

Author:

{'email': 'nicholas.zolnierz@mongodb.com', 'name': 'Nick Zolnierz', 'username': 'nzolnierzmdb'}

Message: SERVER-34725: Group and count plan stages do not set the WorkingSetID output on PlanStage::DEAD state
Branch: master
https://github.com/mongodb/mongo/commit/46f72213f60bd74367a11aec7f02b38780ae7c3a

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