[CLASSIC] UpdateStage and UpsertStage should spill if allowDiskUse is specified and memory usage has exceeded some limit

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      UpdateStage tracks unique records using std::unique_ptr<stdx::unordered_set<RecordId, RecordId::Hasher>>. The stdx::unordered_set<RecordId, RecordId::Hasher> should be replaced with RecordIdDeduplicator and spilled if the memory limit is exceeded.

      UpsertStage will use the spilling method implemented for UpdateStage. It will only need separate tests.

            Assignee:
            Unassigned
            Reporter:
            Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: