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

abortTransaction in cleanup_txns.js does not handle LockTimeout

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-05-20
    • 21

      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.

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

              Created:
              Updated:
              Resolved: