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

smengcl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new bc74b52fbca HDDS-15807. Add javadoc for SCM Ratis server placeholder 
TODOs (#10706)
bc74b52fbca is described below

commit bc74b52fbca50b842e72c15fe2d38b01a757ac47
Author: Siyao Meng <[email protected]>
AuthorDate: Fri Jul 10 17:07:16 2026 -0700

    HDDS-15807. Add javadoc for SCM Ratis server placeholder TODOs (#10706)
    
    Generated-by: Claude Code (Opus 4.8)
---
 .../src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java  | 5 ++++-
 .../main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java  | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java
 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java
index 216d276568e..96ef20e9919 100644
--- 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java
+++ 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java
@@ -30,7 +30,10 @@
 import org.apache.ratis.server.RaftServer;
 
 /**
- * TODO.
+ * Ratis server that provides SCM HA by hosting the {@link SCMStateMachine}
+ * and replicating SCM metadata operations across the SCM Raft group. Exposes
+ * lifecycle (start/stop/snapshot), membership (add/remove SCM), and
+ * leader/role query operations.
  */
 public interface SCMRatisServer {
 
diff --git 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java
 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java
index cfc5898bb95..ac9564ca95d 100644
--- 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java
+++ 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java
@@ -66,7 +66,8 @@
 import org.slf4j.LoggerFactory;
 
 /**
- * TODO.
+ * Default {@link SCMRatisServer} implementation backed by a Ratis
+ * {@link RaftServer} running the {@link SCMStateMachine}.
  */
 public class SCMRatisServerImpl implements SCMRatisServer {
   private static final Logger LOG =


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to