You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/03/24 11:07:20 UTC

[GitHub] [ozone] JacksonYao287 commented on a change in pull request #2079: HDDS-4981. Remove SequenceIdGenerator#StateManagerImpl

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



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SequenceIdGenerator.java
##########
@@ -260,9 +256,13 @@ public Builder setDBTransactionBuffer(DBTransactionBuffer trxBuffer) {
       public StateManager build() {
         Preconditions.checkNotNull(table);
         Preconditions.checkNotNull(buffer);
-        Preconditions.checkNotNull(ratisServer);
 
         final StateManager impl = new StateManagerHAImpl(table, buffer);
+
+        if (null == ratisServer) {

Review comment:
       yes, just go ahead here.




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



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