bharatviswa504 commented on a change in pull request #1916:
URL: https://github.com/apache/ozone/pull/1916#discussion_r573456867
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
##########
@@ -608,6 +614,11 @@ private void loginAsSCMUser(ConfigurationSource conf)
}
+ // TODO: Ratis is always enabled now. In case, ratis gets disabled, this
+ // switch should be adjusted accordingly.
+ public static boolean isRatisEnabled(OzoneConfiguration conf) {
Review comment:
If that is the use case isSCMHAEnabled we can use it right, as that is
the config to let know whether ratis is used in SCM or not.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]