Add prepareUnitOfWork method to RecoveryUnit

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-03-26, Storage NYC 2018-03-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add prepareUnitOfWork method to RecoveryUnit:
      /**
       * Must be called after beginUnitOfWork and before calling either abortUnitOfWork or
       * commitUnitOfWork. Transitions the current transaction (unit of work) to the
       * "prepared" state. Must be overridden by storage engines that support prepared
       * transactions.
       */
      virtual void RecoveryUnit::prepareUnitOfWork(Timestamp timestamp) {
      	uasserted(ErrorCodes::PreparedTransactionsNotSupported,
                       "This storage engine does not support prepared transactions");
      }
      

              Assignee:
              Louis Williams
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: