sodonnel commented on code in PR #4453:
URL: https://github.com/apache/ozone/pull/4453#discussion_r1146481214


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/ReplicationManager.java:
##########
@@ -1169,15 +1154,6 @@ public void setMaintenanceReplicaMinimum(int 
replicaCount) {
     )
     private boolean push = true;
 
-    @PostConstruct
-    public void validate() {
-      if (!(commandDeadlineFactor > 0) || (commandDeadlineFactor > 1)) {
-        throw new IllegalArgumentException("command.deadline.factor is set to "
-            + commandDeadlineFactor
-            + " and must be greater than 0 and less than equal to 1");
-      }
-    }

Review Comment:
   Ah, I found one more occurrence too, after grepping for event.timeout. 
Hopefully they are fixed now.



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

To unsubscribe, e-mail: [email protected]

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