JacksonYao287 commented on a change in pull request #2079:
URL: https://github.com/apache/ozone/pull/2079#discussion_r600413168



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/MockSCMHAManager.java
##########
@@ -53,6 +53,10 @@ public static SCMHAManager getInstance(boolean isLeader) {
     return new MockSCMHAManager(isLeader);
   }
 
+  public static SCMHAManager getInstance(DBTransactionBuffer buffer) {

Review comment:
        MockSCMHAManager.getInstance() will always return a  SCMHAManager 
instance upon ratis, and now i can not build a sequenceIdGenerator upon no 
ratis by setting  'OZONE_SCM_HA_ENABLE_KEY'  to false, so the MockSCMHAManager 
must have a getInstance method which can return a no-ratis SCMHAManager




-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to