You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/12/08 08:08:13 UTC

[GitHub] [ignite-3] sashapolo commented on a diff in pull request #1397: IGNITE-18264 Add Peer index support

sashapolo commented on code in PR #1397:
URL: https://github.com/apache/ignite-3/pull/1397#discussion_r1043042570


##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/ClusterInitializer.java:
##########
@@ -100,8 +101,8 @@ public CompletableFuture<Void> initCluster(
             LOG.info("Resolved CMG nodes[nodes={}]", cmgNodes);
 
             CmgInitMessage initMessage = msgFactory.cmgInitMessage()
-                    .metaStorageNodes(metaStorageNodeNames)
-                    .cmgNodes(cmgNodeNames)
+                    .metaStorageNodes(Set.copyOf(metaStorageNodeNames))

Review Comment:
   This is for compilation purposes, `metaStorageNodeNames` is declared as a `Collection`



-- 
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-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org