Shilun Fan created RATIS-2404:
---------------------------------
Summary: 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
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)