[ CLASSIC ] Do not spill _seenDocuments in NearStage

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      NearStage uses RecordIdDeduplicator for _seenDocuments. We have agreed to not spill this structure because reading it will be only random I/O and thus very expensive.
      Moreover, stages that use the find execution path do not set the MongoProcessInterface so they cannot spill using WiredTiger (WT). RecordIdDeduplicator spills using WT.

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

              Created:
              Updated:
              Resolved: