haiyang1987 commented on PR #6024:
URL: https://github.com/apache/hadoop/pull/6024#issuecomment-1710003005

   Thanks @ZanderXu @zhangshuyan0 help me review.
   
   yeah, use `getBlock().isDeleted()` can better intuitively indicate that the 
current block has been deleted,
   In the current code, `ReplicationWork#chooseTargets `and` 
DatanodeManager#handleHeartbeat` maybe can be changed to 
`getBlock().isDeleted()`,  what do you think about?


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