ivandika3 opened a new pull request, #921: URL: https://github.com/apache/ratis/pull/921
## What changes were proposed in this pull request? It's observed that `SegmentedLogCache#shouldEvict` iterate over the `closedSegments` twice: `LogSegmentList#countCached` `LogSegmentList#getTotalCacheSize` We can improve this by iterating over the `closedSegments` once. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-1890 ## How was this patch tested? Existing CI. -- 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]
