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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Optimization 2021-03-08, Query Optimization 2021-03-22, Query Optimization 2021-04-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Nicholas Zolnierz
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: