Wuchte commented on a change in pull request #8235:
URL: https://github.com/apache/ignite/pull/8235#discussion_r490074939



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/task/GridTaskProcessor.java
##########
@@ -1138,14 +1138,15 @@ public void processJobExecuteResponse(UUID nodeId, 
GridJobExecuteResponse msg) {
         lock.readLock();
 
         try {
+            GridTaskWorker<?, ?> task = tasks.get(msg.getSessionId());
+
             if (stopping && !waiting) {
-                U.warn(log, "Received job execution response while stopping 
grid (will ignore): " + msg);
+                U.warn(log, "Received job execution response while stopping 
grid (will ignore): " + msg
+                    + (task != null && task.getSession() != null ? (", " + 
task.getSession().getTaskName()) : ""));

Review comment:
       Good idea.
   However, I think it will be more clear to use task as parameter. Otherwise, 
here will be one more place which works with tasks map.




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

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


Reply via email to