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

Create TemporaryRecordStore wrapper that swaps RecoveryUnit

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2025-01-20, QE 2025-02-03

      When using TemporaryRecordStore for spilling, we need to maintain a separate RecoveryUnit.

       

      We already do it in SBE: https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/util/spilling.h

      We should refactor this code to a common place and use it in other spilling places: 

      https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/spilling/spillable_map.h

      https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/spilling/spillable_deque.h

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: