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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-12-27

      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

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

              Created:
              Updated:
              Resolved: