Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
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