kokon191 commented on code in PR #6422:
URL: https://github.com/apache/hadoop/pull/6422#discussion_r1910066640


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerDataNode.java:
##########
@@ -238,6 +238,10 @@ public boolean isBalancingNeeded(double threshold) {
    * @param volume - volume
    */
   public void addVolume(DiskBalancerVolume volume) throws Exception {
+    addVolume(volume, false);

Review Comment:
   Shouldn't the default be `true`, so `addVolume(volume, true);` instead?



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