ChenSammi commented on code in PR #7016:
URL: https://github.com/apache/ozone/pull/7016#discussion_r1743339876
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/StorageContainerLocationProtocolClientSideTranslatorPB.java:
##########
@@ -758,6 +758,7 @@ public ScmInfo getScmInfo() throws IOException {
ScmInfo.Builder builder = new ScmInfo.Builder()
.setClusterId(resp.getClusterId())
.setScmId(resp.getScmId())
+ .setScmRatisEnabled(resp.getScmRatisEnabled())
Review Comment:
There is one case that SCM ratis is ended, but only one SCM instance in the
raft group. In this case, we can check whether the role string has LEADER or
FOLLOWER key word.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]