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

Do not std::terminate() if _commitStorageTransaction throws for unprepared transactions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2020-01-27
    • 9

      Presently, _commitStorageTransaction does not allow any exceptions to be thrown. This restriction should be able to be lifted for unprepared transactions.

      logOplogEntriesForTransaction should be a transactional operation, so the inner WriteUnitOfWork and writeConflictRetry should not be necessary, and an invariant should be added that the operation has a parent WriteUnitOfWork.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: