[ 
https://issues.apache.org/jira/browse/HDFS-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yue Wang updated HDFS-17939:
----------------------------
    Description: 
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.
 

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