kokonguyen191 opened a new pull request, #8415: URL: https://github.com/apache/hadoop/pull/8415
### Description of PR Since DNs do not report deleted blocks to NNs, in standby and observer namenodes, if not removed, `pendingDNMessages` will never drain messages from blocks that have already been deleted, leading to a leak. <img width="1426" height="672" alt="image" src="https://github.com/user-attachments/assets/51e871ec-e85a-45d0-ad1f-263c107b1a33" /> The solution is to clean up the messages when the block is removed in `BlockManager#removeBlock()`. ### How was this patch tested? 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]
