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

txn_override.js should also abort when writeError is not empty

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 4.1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Sharding 2019-01-14

      Description

      Currently, it is possible for server to return non-empty writeError or writeConcern error while returning ok: 1. txn_override.js should also take this into account:

      https://github.com/mongodb/mongo/blob/r4.1.6/jstests/libs/txns/txn_override.js#L409

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jack.mulrow Jack Mulrow
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: