This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 920540e7d41 [Debug](thrift) add log for thrift transport error (#31366)
920540e7d41 is described below

commit 920540e7d4111729a70fbaa45a5a317dcf1ab96a
Author: zclllyybb <zhaochan...@selectdb.com>
AuthorDate: Sat Feb 24 22:38:25 2024 +0800

    [Debug](thrift) add log for thrift transport error (#31366)
---
 be/src/util/thrift_rpc_helper.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/util/thrift_rpc_helper.cpp 
b/be/src/util/thrift_rpc_helper.cpp
index 0f9d3fae5c3..285c1a689ab 100644
--- a/be/src/util/thrift_rpc_helper.cpp
+++ b/be/src/util/thrift_rpc_helper.cpp
@@ -73,6 +73,7 @@ Status ThriftRpcHelper::rpc(const std::string& ip, const 
int32_t port,
         try {
             callback(client);
         } catch (apache::thrift::transport::TTransportException& e) {
+            std::cerr << "thrift error, reason=" << e.what();
             LOG(WARNING) << "retrying call frontend service after "
                          << config::thrift_client_retry_interval_ms << " ms, 
address=" << address
                          << ", reason=" << e.what();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to