ChenSammi commented on issue #1469: HDDS-2034. Async RATIS pipeline creation 
and destroy through heartbea…
URL: https://github.com/apache/hadoop/pull/1469#issuecomment-536242054
 
 
   > @ChenSammi Thanks a lot for working on this! Please find my comments below.
   > 
   >     1. For the SafeModeRules, if we allow pipeline creation during safe 
mode we need to modify the rules so that newly created pipelines are not 
counted in the rule.
   > 
   >     2. Can we just trigger PipelineReport from the datanodes after 
creation of pipeline instead of CreatePipelineACK? That would greatly simplify 
the OPEN pipeline code.
   
   Thanks @lokeshj1703  for view the patch. 
   1. For SafeModeRules, I do modified the HealthyPipelineSafeModeRule a bit.  
Add two properties, one is "hdds.scm.safemode.pipeline.creation" to control 
whether create pipeline in safemode. 
   Another is "hdds.scm.safemode.min.pipeline" control the minimum pipeline 
number to exit safe mode when create pipeline in safemode is enabled.  
   2.  It's a good point. I will check the code to see if I leverage the 
trigger pipelineReport to replace the  CreatePipelineACK.

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