yujun777 commented on code in PR #42066:
URL: https://github.com/apache/doris/pull/42066#discussion_r1812133246


##########
be/src/agent/agent_server.cpp:
##########
@@ -193,7 +194,7 @@ void AgentServer::start_workers(StorageEngine& engine, 
ExecEnv* exec_env) {
             "REPORT_DISK_STATE", _master_info, 
config::report_disk_state_interval_seconds, [&engine, &master_info = 
_master_info] { report_disk_callback(engine, master_info); }));
 
     _report_workers.push_back(std::make_unique<ReportWorker>(
-            "REPORT_OLAP_TABLE", _master_info, 
config::report_tablet_interval_seconds,[&engine, &master_info = _master_info] { 
report_tablet_callback(engine, master_info); }));
+            "REPORT_OLAP_TABLET", _master_info, 
config::report_tablet_interval_seconds,[&engine, &master_info = _master_info] { 
report_tablet_callback(engine, master_info); }));

Review Comment:
   ReportAction use report worker's name. service/http_service.cpp need modify 
REPORT_OLAP_TABLE too.
   
   what's more, service/http_service.cpp contains a api  /api/report/tablet for 
not-cloud mode,  also add this api to cloud mode ?



-- 
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

Reply via email to