deardeng commented on code in PR #40264:
URL: https://github.com/apache/doris/pull/40264#discussion_r1749874052


##########
be/src/agent/heartbeat_server.cpp:
##########
@@ -244,6 +245,34 @@ Status HeartbeatServer::_heartbeat(const TMasterInfo& 
master_info) {
         _engine.notify_listeners();
     }
 
+    if (master_info.__isset.meta_service_endpoint != config::is_cloud_mode()) {
+        return Status::InvalidArgument("fe and be do not work in same mode, fe 
dissagregated: {},"
+                " be dissagregated: {}", 
master_info.__isset.meta_service_endpoint, config::is_cloud_mode());

Review Comment:
   log 打的不对吧



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