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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: Locking
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: