[SERVER-56278] Make $replaceOne check for any null arguments first Created: 22/Apr/21  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Andrii Dobroshynski (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-58095 Implement a workaround for cases wher... Closed
is related to SERVER-53900 Ensure expression arguments checks se... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

As part of the investigation in SERVER-53900 it was found that the $replaceOne expression in SBE does not follow the "check any arguments for null first" semantics like other expressions do, and since we would like to make it consistent we should change it. We may need to change / relax the fuzzer since some queries that would error will now return null. 
 


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