You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2019/07/18 16:44:00 UTC

[jira] [Created] (RATIS-625) LogSegment#append leaks entryCache when the entries are loaded on a restart.

Mukul Kumar Singh created RATIS-625:
---------------------------------------

             Summary: 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


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)