[SERVER-67233] Server crash when trying to push an indexed OR branch with match expression optimization disabled Created: 13/Jun/22  Updated: 29/Oct/23  Resolved: 12/Jul/22

Status: Closed
Project: Core Server
Component/s: Query Execution
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Jess Balint Assignee: Jess Balint
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 2022-06-27, QO 2022-07-11, QO 2022-07-25
Participants:
Linked BF Score: 5

 Description   

The BF uncovers a situation for a query containing an $or with a single argument expression. The $or would be rewritten to just the argument in the match expression optimization. When this is not done however, we attempt to push the $or to another conjunct if it's contained within an $and. The $or (...)



 Comments   
Comment by Githook User [ 12/Jul/22 ]

Author:

{'name': 'Jess Balint', 'email': 'jbalint@gmail.com', 'username': 'jbalint'}

Message: SERVER-67233 Fix the case where we try to push an indexedOr which was null.
Branch: master
https://github.com/mongodb/mongo/commit/be2c55798cd95a66ab48f353c1ee3b1b1768da8b

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