You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2017/11/10 19:14:00 UTC

[jira] [Commented] (RATIS-133) Raft gRPC client should check proto size before sending a message

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

Jing Zhao commented on RATIS-133:
---------------------------------

This limit actually can be increased by manipulating NettyChannelBuilder/ManagedChannelBuilder. You can find an example in "RaftGRpcService.java".

> Raft gRPC client should check proto size before sending a message
> -----------------------------------------------------------------
>
>                 Key: RATIS-133
>                 URL: https://issues.apache.org/jira/browse/RATIS-133
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Critical
>         Attachments: RATIS-133.001.patch
>
>
> Raft client should check the entry size before the command is send, This can otherwise lead to StatusRuntimeException. Checking the size on the client will help avoiding error handling on the RaftServer.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)