Vladsz83 commented on code in PR #11480:
URL: https://github.com/apache/ignite/pull/11480#discussion_r1718344018


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/task/GridTaskProcessor.java:
##########
@@ -200,6 +200,8 @@ public GridTaskProcessor(GridKernalContext ctx) {
         ctx.io().addMessageListener(TOPIC_TASK_CANCEL, new 
TaskCancelMessageListener());
         ctx.io().addMessageListener(TOPIC_TASK, new JobMessageListener(true));
 
+        ctx.internalSubscriptionProcessor().registerGlobalStateListener(this);

Review Comment:
   `GridTaskProcessor` is a `GridComponent`. Its `onKernalStart()` and 
`onKernalStop()` are called by `IgniteKernal`. We call twice `onKernalStart()`. 
Looks wierd. Should it be either `GridComponent` or 
`IgniteChangeGlobalStateSupport` but not both?



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