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

X lock on partition should not conflict with S lock on DB

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.1.2, 2.2.0
    • Component/s: Transactions
    • Labels:
      None

      Description

      S lock on DB is acquired when creating a new table in that DB to make sure the DB is not dropped at the same time

      This should not conflict with operations such as rebuild index which takes an Exclusive lock on a partition. See also HIVE-10242

        Attachments

        1. HIVE-12594.01.patch
          16 kB
          Eugene Koifman

          Issue Links

            Activity

              People

              • Assignee:
                ekoifman Eugene Koifman
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: