suddendust commented on issue #7229:
URL: https://github.com/apache/pinot/issues/7229#issuecomment-892549187


   @mcvsubbu @kishoreg I am thinking along the lines of what @mcvsubbu proposed 
earlier. Introduce a new state like "EVICTED" in the segment FSM. A segment can 
move from ONLINE -> EVICTED (this transition can take place when a segment's 
retention period expires). The invariant is that an evicted segment is always 
present in the deep store. While querying, the broker gets all of the segments 
to be queried, sees that some of them have been evicted, triggers a download to 
a sub-set of servers, and then proceeds with its regular business. The segments 
remain cached in these servers, and can be replaced with some eviction policy 
if need be. What are your thoughts on this? (I through it will be a good idea 
to vet this approach before I get on with the design).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to