xinyiZzz commented on a change in pull request #7032: URL: https://github.com/apache/incubator-doris/pull/7032#discussion_r751867135
########## File path: be/src/agent/heartbeat_server.h ########## @@ -34,9 +35,22 @@ class StorageEngine; class Status; class ThriftServer; +struct FrontendStartInfo { + int64_t start_time; + bool is_alive; + DateTimeValue* last_heartbeat; // Invalid time of Info Review comment: Doris use int_64 uniformly? ########## File path: be/src/agent/heartbeat_server.cpp ########## @@ -78,6 +78,32 @@ void HeartbeatServer::heartbeat(THeartbeatResult& heartbeat_result, Status HeartbeatServer::_heartbeat(const TMasterInfo& master_info) { std::lock_guard<std::mutex> lk(_hb_mtx); + if (master_info.__isset.frontends_info) { + std::stringstream ss; + ss << "Heartbeat frontends info len: " << master_info.frontends_info.size(); + for (auto info: master_info.frontends_info) { Review comment: done, Thats good -- 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