[
https://issues.apache.org/jira/browse/RATIS-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795968#comment-17795968
]
Duong commented on RATIS-1964:
------------------------------
CommitInfoCache will be changed by RATIS-1967.
> Avoid Ratis internal data from referring to external input protobuf data
> source
> -------------------------------------------------------------------------------
>
> Key: RATIS-1964
> URL: https://issues.apache.org/jira/browse/RATIS-1964
> Project: Ratis
> Issue Type: Sub-task
> Reporter: Duong
> Assignee: Duong
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Cached Raft IDs, such asRaftPeerId or RaftGroupId, now refer to original
> ByteStrings in the input protobuf data. That is not zero-copy friendly, as
> these original ByteString may be released.
> Similarly, CommitInfoCache also keeps CommitInfo proto objects from original
> input data.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)