ChenSammi commented on a change in pull request #1469: HDDS-2034. Async RATIS 
pipeline creation and destroy through heartbea…
URL: https://github.com/apache/hadoop/pull/1469#discussion_r326968982
 
 

 ##########
 File path: hadoop-hdds/common/src/main/resources/ozone-default.xml
 ##########
 @@ -1388,6 +1379,25 @@
     </description>
   </property>
 
+  <property>
+    <name>hdds.scm.safemode.pipeline.creation</name>
+    <value>true</value>
+    <tag>HDDS,SCM,OPERATION</tag>
+    <description>
+      Boolean value to enable background pipeline creation in SCM safe mode.
+    </description>
+  </property>
+
+  <property>
+    <name>hdds.scm.safemode.min.pipeline</name>
 
 Review comment:
   When a new cluster startup, it will exit safemode immediately currently.  
Because there is pipeline to  wait for it's report from datanode.   So if we 
don't add a min pipeline threshold, we will exit safemode without any pipeline 
ready to use.  
   The desired state is when safenode off, Ozone should be ready for read/write 
object. 
   Thant's the reason this property is added.  
HDDS_SCM_SAFEMODE_HEALTHY_PIPELINE_THRESHOLD_PCT_DEFAULT cannot fulfill this 
purpose, because the total pipeline number at the start of a new cluster is 0. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to