slfan1989 commented on code in PR #6960:
URL: https://github.com/apache/ozone/pull/6960#discussion_r1759659553
##########
hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html:
##########
@@ -153,6 +155,35 @@ <h2>Meta-Data Volume Information</h2>
</tbody>
</table>
+<h2>SCM Roles (HA)</h2>
+<h4 ng-show="$ctrl.overview.jmx.RatisRoles.length == 1 &&
$ctrl.overview.jmx.RatisRoles[0].length ==
1">{{$ctrl.overview.jmx.RatisRoles[0][0]}}</h4>
Review Comment:
@ivandika3 @dombizita
Thank you very much for reviewing the code! I carefully readed both the SCM
and OM code, and found that integrating `OzoneManager#getRatisRoles` with
`StorageContainerManager#getRatisRoles` is not very straightforward.
However, for the sake of code readability, I adjusted the
`StorageContainerManager#getRatisRoles` method to follow the implementation
style of OM.
Could you review it again and provide any suggestions?
--
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]