Create TemporaryRecordStore wrapper that swaps RecoveryUnit

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2025-01-20, QE 2025-02-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Ivan Fefer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: