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

Tsz Wo Nicholas Sze commented on RATIS-161:
-------------------------------------------

BTW, let's also change LogEntryBuffer.addEntry.  It should check size before 
adding the entry so that it won't have a message > BUFFER_CAPACITY.

> gRPC Log appender should check if the appended request size is less than max 
> message size of the server
> -------------------------------------------------------------------------------------------------------
>
>                 Key: RATIS-161
>                 URL: https://issues.apache.org/jira/browse/RATIS-161
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>         Attachments: RATIS-161.001.patch, RATIS-161.002.patch
>
>
> RATIS-133 add a check to the raft client to ensure that server doesn't 
> receive messages which are greater than maxMessageSize. However 
> GRPCLogAppender can append entries to the server and these entries can be 
> greater than the max message size. This jira will add a check to 
> GRPCLogAppender as well.



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

Reply via email to