-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Query Optimization 2021-03-08, Query Optimization 2021-03-22, Query Optimization 2021-04-05
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