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

Xianyang Liu updated SPARK-25386:
---------------------------------
    Summary: Don't need to synchronize the IndexShuffleBlockResolver for each 
writeIndexFileAndCommit call  (was: Don't need to synchronize the 
IndexShuffleBlockResolver for each writeIndexFileAndCommit)

> Don't need to synchronize the IndexShuffleBlockResolver for each 
> writeIndexFileAndCommit call
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25386
>                 URL: https://issues.apache.org/jira/browse/SPARK-25386
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.1
>            Reporter: Xianyang Liu
>            Priority: Major
>
> Now, we need synchronize the instance of IndexShuffleBlockResolver in order 
> to make the commit check and tmp file rename atomically. This can be 
> improved. We could synchronize a lock which is different for each `shuffleId 
> + mapId` instead of  synchronize the indexShuffleBlockResolver for each 
> writeIndexFileAndCommit.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to