You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yiguolei (via GitHub)" <gi...@apache.org> on 2025/04/01 03:04:00 UTC
Re: [PR] [Fix]fix report query statistics to FE cores [doris]
yiguolei commented on code in PR #49711:
URL: https://github.com/apache/doris/pull/49711#discussion_r2022065540
##########
be/src/runtime/runtime_query_statistics_mgr.cpp:
##########
@@ -94,6 +94,13 @@ static Status _do_report_exec_stats_rpc(const TNetworkAddress& coor_addr,
PrintThriftNetworkAddress(coor_addr), e.what());
}
return Status::RpcError("Send stats failed");
+ } catch (apache::thrift::TException& e) {
+ LOG_WARNING("Failed to report query profile to {}, reason: {} ",
+ PrintThriftNetworkAddress(coor_addr), e.what());
+ std::this_thread::sleep_for(
+ std::chrono::milliseconds(config::thrift_client_retry_interval_ms * 2));
+ // just reopen to disable this connection
+ static_cast<void>(rpc_client.reopen(config::thrift_rpc_timeout_ms));
Review Comment:
这里不需要返回rpc error 吗?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org