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

Don't report ops as passed if logOps causes txn to fail

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.4, 3.5.6
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Storage 2017-04-17

      If individual operations of an atomic applyOps command succeed, but are rolled back as result of a later error, make sure to not return a results field that marks those commands as successful.

      Currently we insert a new results field, but that does not replace the original one. Instead only add the results field on successfully committing the transaction.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: