errose28 commented on code in PR #8103:
URL: https://github.com/apache/ozone/pull/8103#discussion_r2001506180


##########
hadoop-hdds/common/src/main/resources/ozone-default.xml:
##########
@@ -210,13 +210,12 @@
   </property>
   <property>
     <name>hdds.datanode.volume.choosing.policy</name>
-    <value/>
+    
<value>org.apache.hadoop.ozone.container.common.volume.CapacityVolumeChoosingPolicy</value>
     <tag>OZONE, CONTAINER, STORAGE, MANAGEMENT</tag>
     <description>
-      The class name of the policy for choosing volumes in the list of
-      directories.  Defaults to
-      
org.apache.hadoop.ozone.container.common.volume.RoundRobinVolumeChoosingPolicy.
-      This volume choosing policy selects volumes in a round-robin order.
+      The class name of the policy for choosing volumes in the list of 
directories.
+      Defaults to 
org.apache.hadoop.ozone.container.common.volume.CapacityVolumeChoosingPolicy.
+      This volume choosing policy randomly chooses volume with remaining space 
to satisfy the size constraints.

Review Comment:
   Here's an attempt to better explain how this policy works in one sentence:
   ```suggestion
         This volume choosing policy randomly chooses two volumes with 
remaining space and then picks the one with lower utilization.
   ```



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