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

relax multi-timestamp constraint for muti-doc transactions outside logOplogEntries

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-12-12

      The logOplogEntries() function (within the OpObserverImpl implementation) formats applyOps oplog entries for multi-doc transactions and batched writes. In order to write out a chain of applyOps oplog entries and to write to the images collection while creating the oplog entries, it has to relax the multi-timestamp constraint on the RecoveryUnit. It would be beneficial in terms of separating the applyOps formatting logic from storage engine related settings to be able to update the RecoveryUnit prior to calling logOplogEntries().

      This supports the work in SERVER-70899 where the TransactionOperations would be sole focused on formatting the applyOps entries without any explicit interaction with the OperationContext or RecoveryUnit.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: