SzyWilliam commented on PR #921:
URL: https://github.com/apache/ratis/pull/921#issuecomment-1725705313

   > I suspect that causes a large number of close segments preserved which 
causes the evictCache to take a long time since it has to go through the closed 
segments twice.
   
   It sounds that there are slow followers.
   
   > If the LogSegment cache is now file-grained, could we further optimize it 
to only check when switching RaftLog?
   
   +1, we may cache the computed results and only update them incrementally, as 
the case in `LogSegmentList#sizeInBytes`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to