[SERVER-72391] SBE CodeFragment parameters and variables are not resolved correctly Created: 22/Dec/22  Updated: 29/Oct/23  Resolved: 16/Feb/23

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

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

Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2023-02-06, QE 2023-02-20
Participants:

 Description   

SBE CodeFragment parameters and variable is sensitive on the order and type of append instructions used. Depending on the order of append(code) vs appendXYZ the paraments and variables the stack offsets are sometimes adjusted correctly and sometimes not.

For repro, see disabled tests in https://github.com/10gen/mongo/pull/9493

 

 



 Comments   
Comment by Githook User [ 23/Jan/23 ]

Author:

{'name': 'Anna Wawrzyniak', 'email': 'anna.wawrzyniak@mongodb.com', 'username': 'anna-wawrzyniak'}

Message: SERVER-72391 Fixed CodeFragment parameters and variable resolution
Branch: master
https://github.com/mongodb/mongo/commit/165e05b4a8877d294cf369462df77fe6813785c4

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