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

abortTransaction in cleanup_txns.js does not handle LockTimeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-05-20
    • 21

    Description

      Under heavy load, it is possible for abortTransaction to fail while checking out the session. In this case, we will get a LockTimeout (marked transient). The transaction has been aborted, so we can simply ignore this error.

      The same code also fails to handle different errors for different shards, which can also happen. We can use the "raw" field to make sure each error is an allowable one.

      Attachments

        Issue Links

          Activity

            People

              matthew.russotto@mongodb.com Matthew Russotto
              matthew.russotto@mongodb.com Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: