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

Split RecoveryUnit::commitUnitOfWork() procedure into storage engine-specific and non-specific stages

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      Presently, commitUnitOfWork() implementations do both storage engine-specific and non-storage engine-specific commit procedures.

      In order to cleanly separate out the generic commit procedures, we could consider separating commitUnitOfWork() into two functions, both called in succession wherever commitUnitOfWork() is presently called. One function would do commit work specific to the storage engine, and would be required for each storage engine to implement, and the other would do generic commit work, and would only be implemented at the RecoveryUnit level.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: