ptupitsyn commented on code in PR #4871:
URL: https://github.com/apache/ignite-3/pull/4871#discussion_r1884143620


##########
modules/api/src/main/java/org/apache/ignite/compute/IgniteCompute.java:
##########
@@ -244,6 +244,98 @@ default <T, R> Map<ClusterNode, R> executeBroadcast(
         return map;
     }
 
+    /**
+     * Submits a {@link ComputeJob} of the given class for an execution on 
nodes where the primary replicas of a partitions of the specified
+     * table are located. The partition indices are passed to the job in the 
{@link JobExecutionContext#partitions()}.

Review Comment:
   Then, in my opinion, we don't need those new broadcast methods. Instead 
let's simplify "get local partitions for a table" scenario by extending 
`PartitionManager` API.
   
   Thoughts?



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