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:30:00 UTC

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

Zhixiong Chen created SPARK-37017:
-------------------------------------

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


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