guihecheng opened a new pull request #3190:
URL: https://github.com/apache/ozone/pull/3190


   ## What changes were proposed in this pull request?
   
   EC: Fix allocateBlock failure due to inaccurate excludedNodes check.
   More details seen in the JIRA below.
   
   Here I just removed the check since I think that the simple calculation is 
not accurate since ExcludedNodes could contain dead DNs that are not counted in 
the TotalNode.
   And the existing logic follows should be able to correctly pick proper DNs 
for new pipelines.
   Maybe more accurate checks could be done, but I don't think it is necessary 
just to fix the calculation itself, the purpose is to  choose enough DNs for 
pipeline creation.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6445
   
   ## How was this patch tested?
   
   A new ut.
   


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