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

Catch exception from transaction operation and store error on Session

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Replication
    • None
    • Replication

      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.

            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:
            2 Start watching this issue

              Created:
              Updated: