[SERVER-80351] Call to stage_builder::prepareSlotBasedExecutableTree in getSlotBasedExecutor sets 'preparingFromCache' to 'true' incorrectly Created: 23/Aug/23  Updated: 18/Jan/24  Resolved: 18/Jan/24

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

Type: Improvement Priority: Minor - P4
Reporter: Mihai Andrei Assignee: Xuan Zhang
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-83959 When preparing SBE plan, correctly pa... Closed
Assigned Teams:
Query Execution
Sprint: QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13, QE 2023-11-27, QE 2023-12-11, QE 2023-12-25, QE 2024-01-08, QE 2024-01-22
Participants:

 Description   

See the following line. I think 'true' should instead be 'planningResult->isRecoveredFromCache()'.

This is pretty minor; I think the consequence of this is that when binding parameters
we wind up extracting the JSfunction from WhereMatchExpression and we always bind bounds for clustered collection scans.



 Comments   
Comment by David Storch [ 18/Jan/24 ]

ivan.fefer@mongodb.com xuan.zhang@mongodb.comat first glance this appears to be a duplicate of SERVER-83959. If that seems correct to you, please resolve this ticket as a dup.

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