smiroslav commented on PR #1296:
URL: https://github.com/apache/jackrabbit-oak/pull/1296#issuecomment-1946314534

   >  Instead of creating a separate Map, can't we just put the recovered 
segment in the segment cache, like this?
   Hi @ahanikel 
   
   The problem could be if the FileStore is started with a segment cache that 
is not big enough to contain all recovered segments. 
   
   Another issue could be if the segment is not in the tar archive that is 
being recovered. To find the segment in that case, we need TarReader to check 
other archives since we will get a cache miss. 


-- 
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: dev-unsubscr...@jackrabbit.apache.org

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

Reply via email to