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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2020-01-27
    • Linked BF Score:
      9

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: