Jiwon Park created SPARK-62396:
----------------------------------

             Summary: Fix block ID reuse race in BlockManager replication tests
                 Key: SPARK-62396
                 URL: https://issues.apache.org/jira/browse/SPARK-62396
             Project: Spark
          Issue Type: Test
          Components: Spark Core
    Affects Versions: 5.0.0
            Reporter: Jiwon Park


`SslBlockManagerBasicStrategyReplicationSuite` intermittently fails because 
`testReplication` reuses block IDs across iterations without waiting for 
asynchronous deletion to complete. A delayed deletion can remove a block being 
validated by a later iteration.

Reproduced by delaying deletion with a read lock. Using a distinct block ID per 
iteration fixes the race.

CI failure: 
https://github.com/j1wonpark/spark/actions/runs/45812243903/job/139891125191




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to