[ https://issues.apache.org/jira/browse/RATIS-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated RATIS-76: --------------------------- Attachment: RATIS-76.002.patch Update the patch with some simple tests. Also let the SegmentedRaftLog call cache.load explicitly so that we can avoid disk IO within the SegmentedRaftLog's lock. > Add loading policy for RaftLogCache > ----------------------------------- > > Key: RATIS-76 > URL: https://issues.apache.org/jira/browse/RATIS-76 > Project: Ratis > Issue Type: Sub-task > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: RATIS-76.000.patch, RATIS-76.001.patch, > RATIS-76.002.patch > > > RATIS-70 separates term/index/offset and entry content in {{LogSegment}}. Now > {{LogSegment}} can always holds term/index/offset part in memory as index, > and load log entry into a cache only when necessary. In this jira we will add > a cache loading policy in {{LogSegment}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346)