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

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

Reply via email to