Use LastOpFixer for update and delete operations in bulkWrite command

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2023-04-17, Repl 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kaitlin Mahar
            Reporter:
            Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: