BePPPower commented on code in PR #9533:
URL: https://github.com/apache/incubator-doris/pull/9533#discussion_r871974393


##########
be/src/agent/agent_server.cpp:
##########
@@ -120,14 +120,14 @@ void AgentServer::submit_tasks(TAgentResult& agent_result,
         TTaskType::type task_type = task.task_type;
         int64_t signature = task.signature;
 
-#define HANDLE_TYPE(t_task_type, work_pool, req_member)                        
 \
-    case t_task_type:                                                          
 \
-        if (task.__isset.req_member) {                                         
 \
-            work_pool->submit_task(task);                                      
 \
-        } else {                                                               
 \
-            ret_st = Status::InvalidArgument(strings::Substitute(              
 \
-                    "task(signature=$0) has wrong request member", 
signature)); \
-        }                                                                      
 \
+#define HANDLE_TYPE(t_task_type, work_pool, req_member)                        
             \
+    case t_task_type:                                                          
             \
+        if (task.__isset.req_member) {                                         
             \
+            work_pool->submit_task(task);                                      
             \
+        } else {                                                               
             \
+            ret_st = Status::InvalidArgument("task(signature={}) has wrong 
request member", \

Review Comment:
   ok



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to