Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56278

Make $replaceOne check for any null arguments first

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      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. 
       

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            andrii.dobroshynski@mongodb.com Andrii Dobroshynski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: