NSAmelchev commented on code in PR #11539:
URL: https://github.com/apache/ignite/pull/11539#discussion_r1773845687


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/service/IgniteServiceProcessor.java:
##########
@@ -1134,7 +1136,21 @@ public <T> Collection<T> services(String name) {
     Map<UUID, Integer> reassign(@NotNull IgniteUuid srvcId, @NotNull 
ServiceConfiguration cfg,
         @NotNull AffinityTopologyVersion topVer,
         @Nullable TreeMap<UUID, Integer> oldTop) throws IgniteCheckedException 
{
-        Object nodeFilter = cfg.getNodeFilter();
+        IgnitePredicate<ClusterNode> nodeFilter = cfg.getNodeFilter();
+
+        if (cfg instanceof LazyServiceConfiguration) {
+            LazyServiceConfiguration srvcCfg = (LazyServiceConfiguration)cfg;
+
+            if (nodeFilter == null && srvcCfg.nodeFilterBytes() != null) {

Review Comment:
   Fixed



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to