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

Use LastOpFixer for update and delete operations in bulkWrite command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Repl 2023-04-17, Repl 2023-05-01

    Description

      Currently, we are only using the LastOpFixer for inserts run via bulkWrite. However, we need to use it for updates and deletes too, i.e. we should be calling startingOp() and finishedOpSuccessfully() before/after each update and delete.

      That way, if such an operation ends up being a no-op, we will still correctly wait for write concern after it.

      Attachments

        Activity

          People

            kaitlin.mahar@mongodb.com Kaitlin Mahar
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: