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

Add abortCause argument to abortActiveTransaction and save it on the session

    • Replication
    • Repl 2018-07-30

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: