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

Tsz-wo Sze updated RATIS-2404:
------------------------------
    Component/s: client
                 gRPC

> 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
>         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