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

Tsz-wo Sze resolved RATIS-2724.
-------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~amaliujia] !

> Support non-ByteString Message
> ------------------------------
>
>                 Key: RATIS-2724
>                 URL: https://issues.apache.org/jira/browse/RATIS-2724
>             Project: Ratis
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Tsz-wo Sze
>            Assignee: Rui Wang
>            Priority: Major
>             Fix For: 3.4.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code}
> //Message.java
>   ByteString getContent();
> {code}
> The Message interface has only the above method to get the data.  So, it 
> forces the implementations to serialize the data into a ByteString.
> In this JIRA, we add an optional support to ByteBuffer.  When the 
> implementation supports ByteBuffer, the Ratis code should never invoke the 
> getContent() method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to