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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org