This is an automated email from the ASF dual-hosted git repository.

rpuch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 71f592b92e IGNITE-23531 Improve messages in REST API for MG disaster 
recovery (#4626)
71f592b92e is described below

commit 71f592b92e349699435a00922a60fb4e96686bde
Author: Phillippko <[email protected]>
AuthorDate: Fri Oct 25 15:56:52 2024 +0900

    IGNITE-23531 Improve messages in REST API for MG disaster recovery (#4626)
---
 .../internal/rest/api/recovery/system/ResetClusterRequest.java      | 6 +++---
 .../internal/disaster/system/SystemDisasterRecoveryManager.java     | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/recovery/system/ResetClusterRequest.java
 
b/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/recovery/system/ResetClusterRequest.java
index a6172e7bbd..bc4592a98b 100644
--- 
a/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/recovery/system/ResetClusterRequest.java
+++ 
b/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/recovery/system/ResetClusterRequest.java
@@ -29,12 +29,12 @@ import org.jetbrains.annotations.Nullable;
 /** Request to reset cluster. */
 @Schema(description = "Reset cluster.")
 public class ResetClusterRequest {
-    @Schema(description = "Names of the proposed CMG nodes. Optional if 
Metastorage replication factor is specified, then "
-            + "current CMG nodes will be used.")
+    @Schema(description = "Names of the proposed CMG nodes. Optional if the MG 
group is being repaired. If not specified, the current "
+            + "CMG nodes are used.")
     @IgniteToStringInclude
     private final @Nullable List<String> cmgNodeNames;
 
-    @Schema(description = "Number of nodes in the Raft voting member set for 
Metastorage.")
+    @Schema(description = "Number of nodes in the voting member set of the 
Metastorage RAFT group.")
     @IgniteToStringInclude
     private final @Nullable Integer metastorageReplicationFactor;
 
diff --git 
a/modules/system-disaster-recovery/src/main/java/org/apache/ignite/internal/disaster/system/SystemDisasterRecoveryManager.java
 
b/modules/system-disaster-recovery/src/main/java/org/apache/ignite/internal/disaster/system/SystemDisasterRecoveryManager.java
index c99eb3308b..a371489cfa 100644
--- 
a/modules/system-disaster-recovery/src/main/java/org/apache/ignite/internal/disaster/system/SystemDisasterRecoveryManager.java
+++ 
b/modules/system-disaster-recovery/src/main/java/org/apache/ignite/internal/disaster/system/SystemDisasterRecoveryManager.java
@@ -53,7 +53,7 @@ public interface SystemDisasterRecoveryManager {
     /**
      * Initiates cluster reset. CMG will be reset and Metastorage will be 
repaired.
      *
-     * @param proposedCmgNodeNames Names of the nodes that will be the new CMG 
nodes. If not specified, current CMG nodes will be used.
+     * @param proposedCmgNodeNames Names of the new CMG nodes. If not 
specified, the current CMG nodes are used.
      * @param metastorageReplicationFactor Number of nodes in the Raft voting 
member set for Metastorage.
      * @return Future completing with the result of the operation ({@link 
ClusterResetException} in case of error related to reset logic).
      */

Reply via email to