sashapolo commented on code in PR #1569:
URL: https://github.com/apache/ignite-3/pull/1569#discussion_r1123254950
##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/ClusterInitializer.java:
##########
@@ -67,6 +70,25 @@ public CompletableFuture<Void> initCluster(
Collection<String> metaStorageNodeNames,
Collection<String> cmgNodeNames,
String clusterName
+ ) {
+ return initCluster(metaStorageNodeNames, cmgNodeNames, clusterName,
disabled());
+ }
+
+ /**
+ * Initializes the cluster that this node is present in.
+ *
+ * @param metaStorageNodeNames Names of nodes that will host the Meta
Storage. Cannot be empty.
+ * @param cmgNodeNames Names of nodes that will host the Cluster
Management Group. Can be empty, in which case {@code
+ * metaStorageNodeNames} will be used instead.
+ * @param clusterName Human-readable name of the cluster.
+ * @param authenticationConfig REST authentication configuration.
+ * @return Future that represents the state of the operation.
+ */
+ public CompletableFuture<Void> initCluster(
+ Collection<String> metaStorageNodeNames,
Review Comment:
ok, let's leave the current approach
--
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]