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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.4, 3.5.6
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Storage 2017-04-17

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: