wuyi created SPARK-53581:
----------------------------

             Summary: Potential thread-safety issue for mapTaskIds.add() in 
IndexShuffleBlockResolver
                 Key: SPARK-53581
                 URL: https://issues.apache.org/jira/browse/SPARK-53581
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 4.0.1, 4.0.0, 3.5.6, 3.5.5, 3.5.4, 3.5.3, 3.4.4, 3.5.2
            Reporter: wuyi


{{OpenHashSet}} is not thread safe. We should enfoce synchronize lock when 
invokes the add function to ensure the thread-safety. One illegal case is the 
usage in IndexShuffleBlockResolver.



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