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

Catch exception from transaction operation and store error on Session

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Diagnostics, Replication
    • None
    • Replication

    Description

      If a transaction aborts due to a transaction operation throwing an exception, we want to save that error. Currently, when we run an operation inside a transaction, we will abort the transaction if an exception is thrown, but we won't save the error. We want to change this behavior so that we pass the error status thrown by the exception into Session::abortActiveTransaction.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: