[
https://issues.apache.org/jira/browse/HDFS-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDFS-17939:
----------------------------------
Labels: pull-request-available (was: )
> 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]