bshashikant commented on a change in pull request #1916:
URL: https://github.com/apache/ozone/pull/1916#discussion_r573452957



##########
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:
       Thanks @bharatviswa504 . The idea here is to check HA enablement but, 
whether ratis is being used even for non-HA mode. Its a placeholder code for 
now and the logic to invoke code with/without ratis for non-HA setup needs to 
be worked upon yet.




----------------------------------------------------------------
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]

Reply via email to