sanpwc commented on code in PR #4545: URL: https://github.com/apache/ignite-3/pull/4545#discussion_r1801231883
########## modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/ClusterManagementGroupManager.java: ########## @@ -773,21 +774,21 @@ private CompletableFuture<CmgRaftService> startCmgRaftService(Set<String> nodeNa assert serverPeer != null; try { - return raftManager - .startRaftGroupNodeAndWaitNodeReadyFuture( - raftNodeId(serverPeer), - raftConfiguration, - new CmgRaftGroupListener( - clusterStateStorageMgr, - logicalTopology, - validationManager, - this::onLogicalTopologyChanged, - clusterIdStore - ), - this::onElectedAsLeader, - raftGroupOptionsConfigurer - ) - .thenApply(service -> new CmgRaftService(service, clusterService, logicalTopology)); + RaftGroupService service = raftManager.startRaftGroupNodeAndWaitNodeReady( + raftNodeId(serverPeer), + raftConfiguration, + new CmgRaftGroupListener( + clusterStateStorageMgr, + logicalTopology, + validationManager, + this::onLogicalTopologyChanged, + clusterIdStore + ), + this::onElectedAsLeader, + raftGroupOptionsConfigurer + ); + + return completedFuture(new CmgRaftService(service, clusterService, logicalTopology)); Review Comment: Let's discuss within followup. -- 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