[
https://issues.apache.org/jira/browse/RATIS-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1964.
-------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
The pull request is now merged. Thanks, [~duongnguyen]!
> 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
> Fix For: 3.1.0
>
> Time Spent: 1h 20m
> 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)