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

Tsz-wo Sze resolved RATIS-2404.
-------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

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

> Validate message size before sending async requests
> ---------------------------------------------------
>
>                 Key: RATIS-2404
>                 URL: https://issues.apache.org/jira/browse/RATIS-2404
>             Project: Ratis
>          Issue Type: Improvement
>          Components: client, gRPC
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: 1345_review.patch
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Add client-side message size validation for async requests to fail fast 
> before sending oversized messages over the network.
> Currently, async requests are only validated on the server side, causing  
> unnecessary network overhead. This change adds early validation in  
> GrpcClientProtocolClient.asyncSend() to match the existing behavior 
> in the sync path (GrpcClientRpc).



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

Reply via email to