You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Charles Connell (Jira)" <ji...@apache.org> on 2026/10/09 18:07:00 UTC

[jira] [Updated] (HDFS-17989) TestAddOverReplicatedStripedBlocks is flakey due to race condition

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

Charles Connell updated HDFS-17989:
-----------------------------------
    Affects Version/s: 3.4.3

> TestAddOverReplicatedStripedBlocks is flakey due to race condition
> ------------------------------------------------------------------
>
>                 Key: HDFS-17989
>                 URL: https://issues.apache.org/jira/browse/HDFS-17989
>             Project: Hadoop HDFS
>          Issue Type: Test
>    Affects Versions: 3.4.3
>            Reporter: Charles Connell
>            Assignee: Charles Connell
>            Priority: Minor
>
> {{testProcessOverReplicatedAndCorruptStripedBlock}} expects the two redundant copies of an internal block to still be reported after the block reports are processed. But processing the reports marks them as excess, and a DataNode heartbeat delivering the invalidation can delete one before getBlockLocations runs, so the test fails intermittently.
>     
> Disable DataNode heartbeats before triggering the block reports, so no invalidation reaches the DataNodes while the locations are checked, and correct the comment that said the redundant copies are not deleted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org