[
https://issues.apache.org/jira/browse/RATIS-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16889080#comment-16889080
]
Tsz Wo Nicholas Sze commented on RATIS-625:
-------------------------------------------
Filed RATIS-628 for some followup works.
> LogSegment#append leaks entryCache when the entries are loaded on a restart.
> ----------------------------------------------------------------------------
>
> Key: RATIS-625
> URL: https://issues.apache.org/jira/browse/RATIS-625
> Project: Ratis
> Issue Type: Bug
> Components: server
> Affects Versions: 0.3.0
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: RATIS-625.001.patch
>
>
> LogSegment#append leaks the entryCache when a RaftServerImpl is restarted.
> On restart, the entries are loaded from the raft Logs and then added in the
> entryCache, however after adding the entry in the cache, hasEntryCache is not
> set to true.
> cc: [~ljain] [~szetszwo]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)