hfutatzhanghb commented on PR #5889:
URL: https://github.com/apache/hadoop/pull/5889#issuecomment-1653616192

   > Thank you very much for your detailed description of the bug, it made me 
understand. We need to fix the case where there are two internal blocks of the 
same block group on the same DN. But I think it's not a good idea to do it in 
DirectoryScanner. How does datanode know if there are two duplicated block 
group? Maybe they are just two different replication blocks with the same first 
60 digits of the blockID.
   
   Thanks @zhangshuyan0  for your replying. I think we can use 
`BlockIdManager.isStripedBlockID` and `BlockIdManager.convertToStripedID` to 
judge the two blocks are EC blocks and they have same block group.


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