rpuch commented on code in PR #4433:
URL: https://github.com/apache/ignite-3/pull/4433#discussion_r1793295321


##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/MetaStorageInfo.java:
##########
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.internal.cluster.management;
+
+import java.io.Serializable;
+import java.util.Set;
+import java.util.UUID;
+import 
org.apache.ignite.internal.cluster.management.network.messages.CmgMessageGroup;
+import org.apache.ignite.internal.network.NetworkMessage;
+import org.apache.ignite.internal.network.annotations.Transferable;
+import org.jetbrains.annotations.Nullable;
+
+/**
+ * Holds information about Metastorage that is stored in the CMG.
+ */
+@Transferable(CmgMessageGroup.METASTORAGE_INFO)
+public interface MetaStorageInfo extends NetworkMessage, Serializable {
+    /**
+     * Names of the nodes that host Meta storage.
+     */
+    Set<String> metaStorageNodes();
+
+    /**
+     * Raft index in the Metastorage group under which the forced 
configuration is (or will be) saved, or {@code null} if no MG

Review Comment:
   We'll only see the one that relates to the current cluster incarnation (or 
an absense thereof). I improved javadoc (also, javadocs were swapped, I fixed 
this as well)



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

Reply via email to