zhangshuyan0 commented on PR #5759: URL: https://github.com/apache/hadoop/pull/5759#issuecomment-1608767547
> Thank you for your review. We appreciate your suggestion. However, in situations where the number of available racks is insufficient to meet the requirements of the Erasure Coding storage type, each write operation would trigger the invocation of the BlockPlacementPolicyRackFaultTolerant#chooseEvenlyFromRemainingRacks method. It's important to note that each invocation of this method involves the calculation of chooseEvenlyFromRemainingRacks.We are uncertain about the potential efficiency implications of adopting this approach. It makes sense. We should try to minimize the impact on `addBlock` instead of reconstruction. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org