You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Shilun Fan (Jira)" <ji...@apache.org> on 2026/02/10 08:59:00 UTC
[jira] [Updated] (RATIS-2404) Validate message size before sending async requests
[ https://issues.apache.org/jira/browse/RATIS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated RATIS-2404:
------------------------------
Description:
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).
was:
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).
> Validate message size before sending async requests
> ---------------------------------------------------
>
> Key: RATIS-2404
> URL: https://issues.apache.org/jira/browse/RATIS-2404
> Project: Ratis
> Issue Type: Improvement
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Time Spent: 10m
> 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)