Skip to content

Commit

Permalink
[enhancement](rpc) should print fe address in error msg during thrift…
Browse files Browse the repository at this point in the history
… rpc call (apache#33381)

Co-authored-by: yiguolei <[email protected]>
  • Loading branch information
yiguolei and Doris-Extras authored Apr 8, 2024
1 parent 12fdc1b commit 272d58a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/src/util/thrift_rpc_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ Status ThriftRpcHelper::rpc(const std::string& ip, const int32_t port,
std::chrono::milliseconds(config::thrift_client_retry_interval_ms * 2));
// just reopen to disable this connection
static_cast<void>(client.reopen(timeout_ms));
return Status::RpcError("failed to call frontend service, reason: {}", e.what());
return Status::RpcError("failed to call frontend service, FE address={}:{}, reason: {}", ip,
port, e.what());
}
return Status::OK();
}
Expand Down

0 comments on commit 272d58a

Please sign in to comment.