You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhixiong Chen (Jira)" <ji...@apache.org> on 2021/10/15 07:58:00 UTC

[jira] [Commented] (SPARK-37017) Reduce the scope of synchronized to prevent deadlock.

    [ https://issues.apache.org/jira/browse/SPARK-37017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429160#comment-17429160 ] 

Zhixiong Chen commented on SPARK-37017:
---------------------------------------

I have created a pull request for this issue:
[https://github.com/apache/spark/pull/34292]

> Reduce the scope of synchronized to prevent deadlock.
> -----------------------------------------------------
>
>                 Key: SPARK-37017
>                 URL: https://issues.apache.org/jira/browse/SPARK-37017
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.1
>            Reporter: Zhixiong Chen
>            Priority: Minor
>
> There is a synchronized in CatalogManager.currentNamespace function.
> Sometimes a deadlock occurs.
> The scope of synchronized can be reduced to prevent deadlock.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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