[ 
https://issues.apache.org/jira/browse/RATIS-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duong updated RATIS-1964:
-------------------------
    Description: 
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.

  was:
 Raft IDs, such asRaftPeerId, RaftGroupId, now refer to original ByteStrings in 
the input protobuf data. That is not zero-copy friendly.

Similarly, CommitInfoCache also keeps CommitInfo proto objects from original 
input data.


> 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
>
> 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)

Reply via email to