[ 
https://issues.apache.org/jira/browse/HDDS-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785531#comment-16785531
 ] 

Mukul Kumar Singh commented on HDDS-1208:
-----------------------------------------

Thanks for updating the patch [~ljain].
+1, the patch looks good to me.

> ContainerStateMachine should set chunk data as state machine data for ratis
> ---------------------------------------------------------------------------
>
>                 Key: HDDS-1208
>                 URL: https://issues.apache.org/jira/browse/HDDS-1208
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>         Attachments: HDDS-1208.001.patch, HDDS-1208.002.patch, 
> HDDS-1208.003.patch
>
>
> Currently ContainerStateMachine sets ContainerCommandRequestProto as state 
> machine data. This requires converting the ContainerCommandRequestProto to a 
> bytestring which leads to redundant buffer copy in case of write chunk 
> request. This can be avoided by setting the chunk data as the state machine 
> data for a log entry in ratis.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to