zstan commented on code in PR #2241:
URL: https://github.com/apache/ignite-3/pull/2241#discussion_r1244838075


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -888,14 +903,6 @@ private CompletableFuture<Void> 
awaitFragmentInitialisationAndClose() {
 
                 cancelFuts.add(
                         CompletableFuture.allOf(entry.getValue().toArray(new 
CompletableFuture[0]))
-                                .handle((none2, t) -> {
-                                    // Some fragments may be completed 
exceptionally, and that is fine.
-                                    // Here we need to make sure that all 
query initialisation requests
-                                    // have been processed before sending a 
cancellation request. That's
-                                    // why we just ignore any exception.
-
-                                    return null;
-                                })

Review Comment:
   as i can see : 1. remoteFragmentInitCompletion holder completes it\`s 
futures only on one place 2. i don\`t understand what problem solve this code 
if future somethere completes exceptionally. Plz give me the clue



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