[
https://issues.apache.org/jira/browse/HDFS-17123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748164#comment-17748164
]
ASF GitHub Bot commented on HDFS-17123:
---------------------------------------
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.
> Sort datanodeStorages when generating StorageBlockReport[] in method
> BPServiceActor#blockReport for future convenience
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-17123
> URL: https://issues.apache.org/jira/browse/HDFS-17123
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 3.4.0
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]