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

Add abortCause argument to abortActiveTransaction and save it on the session

    XMLWordPrintableJSON

Details

    • Replication
    • Repl 2018-07-30

    Description

      When we abort a transaction by calling Session::abortActiveTransaction, we need to know the reason for the transaction being aborted. We want to add a method overload of Session::abortActiveTransaction that takes a Status abortCause argument. We also want to save this Status value in Status _abortCause member variable on the Session class. Initially, we will overload the abortActiveTransaction with this new signature, so that we don't have to update all callers right away. Eventually, we will get rid of the existing method and make this new form (that takes an abort cause argument), the only version.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: