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

Make $replaceOne check for any null arguments first

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    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. 
       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: