bharatviswa504 commented on a change in pull request #1916:
URL: https://github.com/apache/ozone/pull/1916#discussion_r573431153
##########
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:
There is a utility method SCMHAUtils#isSCMHAEnabled we can use this and
change the default value of OZONE_SCM_HA_ENABLE_DEFAULT to true, as now ratis
is default looks like. (I see there is no usage for this method)
----------------------------------------------------------------
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]