njnu-seafish commented on code in PR #17796:
URL: 
https://github.com/apache/dolphinscheduler/pull/17796#discussion_r2625708282


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/dispatcher/WorkerGroupDispatcher.java:
##########
@@ -84,23 +95,77 @@ public void run() {
     }
 
     private void doDispatchTask(ITaskExecutionRunnable taskExecutionRunnable) {
+        final int taskId = taskExecutionRunnable.getId();

Review Comment:
   > taskExecutionRunnableId
   
   final int taskInstanceId = taskExecutionRunnable.getId();    is it better?
   
   /**
        * Get the task instance id.
        * <p> Need to know the id might change since the task instance might be 
regenerated.
        */
       default int getId() {
           return getTaskInstance().getId();
       }



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

Reply via email to