Vladsz83 commented on a change in pull request #9771:
URL: https://github.com/apache/ignite/pull/9771#discussion_r795788337



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/service/IgniteServiceProcessor.java
##########
@@ -1061,23 +1061,6 @@ public ServiceContextImpl serviceContext(String name) {
     ) throws IgniteException {
         ctx.security().authorize(name, SecurityPermission.SERVICE_INVOKE);
 
-        if (hasLocalNode(prj)) {

Review comment:
       But:
   
   `hasLocNode = hasLocalNode(prj);`
   
   ` private ClusterNode randomNodeForService(String name) throws 
IgniteCheckedException {
           if (hasLocNode && ctx.service().service(name) != null)
               return ctx.discovery().localNode();`
   
   ?




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