denis-chudov commented on code in PR #6459: URL: https://github.com/apache/ignite-3/pull/6459#discussion_r2293531203
########## modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/ClusterInitializer.java: ########## @@ -206,34 +206,38 @@ public CompletableFuture<Void> initCluster( // Handler of prepareInitMessage validates that all CMG nodes have the same enabledColocation mode. return invokeMessage(cmgNodes, prepareInitMessage) - .thenCompose(ignored -> invokeMessage(cmgNodes, initMessage) - .handle((v, e) -> { - if (e == null) { - LOG.info( - "Cluster initialized [clusterName={}, cmgNodes={}, msNodes={}]", - initMessage.clusterName(), - initMessage.cmgNodes(), - initMessage.metaStorageNodes() - ); - - return CompletableFutures.<Void>nullCompletedFuture(); - } else { - if (e instanceof CompletionException) { - e = e.getCause(); - } + .thenCompose(ignored -> { Review Comment: Yes, this is handled by `.handle()` in `ClusterManagementGroupManager#initClusterAsync` and `.exceptionally()` in `ClusterManagementController#init` -- 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