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

Attempt to unify RecoveryUnit stashing/unstashing logic

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      As part of the SBE yielding work, we'll be stashing the RecoveryUnit on ClientCursors for find, aggregate and getMore commands.

      There is already similar machinery for multi-document transactions, which stores the RecoveryUnit across multiple operations (not just find()/aggregate()/getMore). This is built on the TransactionParticipant and related classes.

      This task is to investigate and attempt to unify these two functionalities. We may find that the transaction machinery is "too heavyweight" for what we want, or it may end up being a good simplification of the codebase.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            ian.boros@mongodb.com Ian Boros
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: