Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37017

Reduce the scope of synchronized to prevent deadlock.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.3.0
    • SQL
    • None

    Description

      There is a synchronized in CatalogManager.currentNamespace function.

      Sometimes a deadlock occurs.

      The scope of synchronized can be reduced to prevent deadlock.

      Attachments

        Activity

          People

            Zhixiong Chen Zhixiong Chen
            Zhixiong Chen Zhixiong Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: