anuragp010 commented on PR #12179:
URL: https://github.com/apache/ozone/pull/12179#issuecomment-7274635969

   Thanks for the review @devmadhuu . I have addressed the comments and I have 
also added functionality to count volumes of the requested tier alone when 
checking the EC pipeline limit.
   
   The EC pipeline limit, `max(`ozone.scm.ec.pipeline.minimum`, factor * 
volumes / (data + parity))`, earlier counted only the healthy volumes of the 
requested tier. So each tier got a limit that was too large. For example, with 
5 datanodes that each have 1 DISK and 1 SSD volume and EC-3-2, the limit was 10 
/ 5 = 2 for each tier, but only 5 volumes can serve a tier. It is now 5 / 5 = 1.
   - `NodeManager` has a new `totalHealthyVolumeCount(StorageType)`.
   - `DatanodeInfo` has a new `getHealthyVolumeCount(StorageType)`, which gets 
all healthy volumes of the given storageType on that DN.
   - The description of `ozone.scm.ec.pipeline.per.volume.factor` has been 
updated to say that the count is of the volumes of the requested storage type.
   
   PTAL !


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