xy720 commented on a change in pull request #7030:
URL: https://github.com/apache/incubator-doris/pull/7030#discussion_r747349443



##########
File path: be/src/runtime/plan_fragment_executor.cpp
##########
@@ -81,6 +81,7 @@ Status PlanFragmentExecutor::prepare(const 
TExecPlanFragmentParams& request,
 
     RETURN_IF_ERROR(_runtime_state->init_mem_trackers(_query_id));
     _runtime_state->set_be_number(request.backend_num);
+    _runtime_state->set_backend_id(request.backend_id);

Review comment:
       ok. Now the default value (-1) is set in runtime_state.h. 
   
   If it finds that backend_id equals to -1 during fragment execution, the node 
statistics of this fragment will not be collected.




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