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

Implement mechanism to free documents in partition which are no longer needed

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Query Optimization 2021-03-08, Query Optimization 2021-03-22, Query Optimization 2021-04-05

    Description

      This is a memory optimization to allow the PartitionIterator to detect when all consumers have accessed past a certain document, and thus the document can be released.

      Some options considered are:

      • A registration mechanism for consumers, such that the iterator is aware of the greatest accessed index
      • Add an expire(int index) method such that the individual WindowManagers can signal when they're done with a document

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: