Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10972

DummyTxnManager always locks the current database in shared mode, which is incorrect.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.3.0, 2.0.0
    • Locking
    • None

    Description

      In DummyTxnManager line 163 , it always locks the current database.

      That is not correct since the current database can be "db1", and the query can be "select * from db2.tb1", which will lock db1 unnecessarily.

      Attachments

        1. HIVE-10972.2.patch
          10 kB
          Aihua Xu
        2. HIVE-10972.patch
          8 kB
          Aihua Xu

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              aihuaxu Aihua Xu
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: