Skip to content

HDDS-15807. Add javadoc for SCM Ratis server placeholder TODOs#10706

Merged
smengcl merged 1 commit into
apache:masterfrom
smengcl:HDDS-15807-todo
Jul 11, 2026
Merged

HDDS-15807. Add javadoc for SCM Ratis server placeholder TODOs#10706
smengcl merged 1 commit into
apache:masterfrom
smengcl:HDDS-15807-todo

Conversation

@smengcl

@smengcl smengcl commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Generated-by: Claude Code (Opus 4.8)

What changes were proposed in this pull request?

Add javadoc in the place of SCM Ratis server placeholder TODOs.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15807

How was this patch tested?

  • Not needed

Copilot AI review requested due to automatic review settings July 10, 2026 03:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds meaningful class/interface Javadocs in SCM HA Ratis server code to replace placeholder TODO comments, improving readability and discoverability of the SCMRatisServer API and its default implementation.

Changes:

  • Replace TODO class Javadoc in SCMRatisServer with a description of its HA responsibilities and exposed operations.
  • Replace TODO class Javadoc in SCMRatisServerImpl with a concrete description of how it’s backed by Ratis RaftServer + SCMStateMachine.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServerImpl.java Replaces placeholder Javadoc with an accurate description of the default Ratis-backed implementation.
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java Replaces placeholder Javadoc with an accurate description of the interface’s lifecycle/membership/leader-role responsibilities.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@smengcl smengcl merged commit bc74b52 into apache:master Jul 11, 2026
88 of 89 checks passed
@smengcl

smengcl commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @jojochuang for reviewing this.

@smengcl smengcl deleted the HDDS-15807-todo branch July 11, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants