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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.4, 3.5.6
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: