[SERVER-56932] Make constant folding optimization throw a special kind of error Created: 13/May/21  Updated: 29/Oct/23  Resolved: 18/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Ruslan Abdulkhalikov (Inactive) Assignee: Ruslan Abdulkhalikov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-09-06, QO 2021-09-20, QO 2021-10-04, QO 2021-10-18, QO 2021-11-01, QO 2021-11-15, QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24
Participants:

 Description   

It is hard to distinguish in fuzzer tests if the test fails due to constant folding optimization. If the part of the query is not reachable on the certain dataset, it is not failing without optimization. This task to introduce a special error code for constant folding failures and create a special check in fuzzer tests to handle it.



 Comments   
Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Ruslan Abdulkhalikov', 'email': 'ruslan.abdulkhalikov@mongodb.com', 'username': 'rusabd1'}

Message: SERVER-56932 failed optimizer error to have a specific code
Branch: SERVER-56932-const-folding-error-code
https://github.com/mongodb/mongo/commit/76287d314beec26cfbfa726eff17265d72776bb5

Generated at Thu Feb 08 05:40:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.