AMashenkov commented on code in PR #6978:
URL: https://github.com/apache/ignite-3/pull/6978#discussion_r2538429696


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/mapping/largecluster/LargeClusterFactory.java:
##########
@@ -64,21 +66,31 @@ public ExecutionTarget allOf(List<String> nodes) {
             nodesSet.set(id);
         }
 
+        if (nodesSet.isEmpty()) {
+            throw new MappingException("Mandatory nodes were excluded from 
mapping: " + nodes);
+        }
+

Review Comment:
   I think this will never happens.
   We can have assert here or into Target constructor.



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