You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wuyi (Jira)" <ji...@apache.org> on 2025/09/15 12:53:00 UTC

[jira] [Created] (SPARK-53581) Potential thread-safety issue for mapTaskIds.add() in IndexShuffleBlockResolver

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org