[ 
https://issues.apache.org/jira/browse/HDFS-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091448#comment-18091448
 ] 

ASF GitHub Bot commented on HDFS-17939:
---------------------------------------

CapMoon commented on PR #8563:
URL: https://github.com/apache/hadoop/pull/8563#issuecomment-4797214066

   @ZanderXu @kokonguyen191 masters, plz take a look when you are available




> StripedReader.initZeroStrip() should only scan data blocks when initializing 
> zero stripe indices
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17939
>                 URL: https://issues.apache.org/jira/browse/HDFS-17939
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.3
>            Reporter: Yue Wang
>            Assignee: Yue Wang
>            Priority: Major
>              Labels: pull-request-available
>
> In {{{}StripedReader#initZeroStrip(){}}}, {{zeroStripeIndices}} is 
> initialized by scanning all internal blocks, including parity blocks.
>  
> The loop should only scan data block indices, which would make the 
> implementation match the meaning and allocated size of 
> {{{}zeroStripeIndices{}}}, and avoid suggesting that parity block indices may 
> be populated as zero stripe indices.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to