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

Make RecoveryUnit decorable and use it for uncommited collections and collection catalog updates

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0
    • None
    • Fully Compatible
    • Execution Team 2021-12-27

    Description

      Systems that need to implement "read your own writes" for uncommitted storage transactions are currently implemented as decorations on the OperationContext. To be able to support multi-document transactions and SideTransactions code needs to manually attach/detach the decoration from OperationContext in the TransactionParticipant.

      If we instead had the RecoveryUnit decorable we can build this handling into the WriteUnitOfWork::RecoveryUnitState used by the TransactionParticipant

      Attachments

        Issue Links

          Activity

            People

              fausto.leyva@mongodb.com Fausto Leyva
              henrik.edin@mongodb.com Henrik Edin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: