Details
Description
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.
Attachments
Attachments
Issue Links
- links to