This is an automated email from the ASF dual-hosted git repository. laiyingchun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit ebb6d481f7c783a1c63b46e5ec08f0a6d38d32b5 Author: Alexey Serbin <[email protected]> AuthorDate: Sat Nov 12 11:45:24 2022 -0800 [rpc] fix typo --rpc_max_message_size flag validator This is a follow-up to ac75b9ed6fa66cce100a1493e18d7eb74f5e1dd7. Change-Id: I639f0f71af42ced84b0c0ced3016fc5eaa8fe401 Reviewed-on: http://gerrit.cloudera.org:8080/19238 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Reviewed-by: Yingchun Lai <[email protected]> --- src/kudu/rpc/transfer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kudu/rpc/transfer.cc b/src/kudu/rpc/transfer.cc index cdb3b5e7d..54405c25f 100644 --- a/src/kudu/rpc/transfer.cc +++ b/src/kudu/rpc/transfer.cc @@ -60,6 +60,7 @@ static bool ValidateMaxMessageSize(const char* flagname, int64_t value) { if (value > std::numeric_limits<int32_t>::max()) { LOG(ERROR) << flagname << " must be less than " << std::numeric_limits<int32_t>::max() << " bytes."; + return false; } return true;
