lfxy commented on PR #6896: URL: https://github.com/apache/hadoop/pull/6896#issuecomment-2310388780
@zhengchenyu I think it's wrong you described about pendingReconstruction. The block flow in decommission is: (1)DatanodeAdminManager::monitor --> (2)neededReconstruction --> (3)PendingReconstructionBlocks::pendingReconstructions --> (4)PendingReconstructionBlocks::timedOutItems--> (5)neededReconstruction If reconstruction task failed in dn, block will flow from (2) to (5) circularly. When the block is in timedOutItems and we don't check, DatanodeAdminManager will add block to neededReconstruction repeated. -- 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]
