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

TxnHandler.enqueueLockWithRetry() should not write TXN_COMPONENTS if partName=null and table is partitioned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Transactions
    • None

    Description

      LM may acquire read locks on the table when writing a partition.
      There is no need to make an entry for the table if we know it's partitioned since any I/U/D must affect a partition (or set of).

      Pass isPartitioned() in LockComponent/LockRequest or look up in TxnHandler

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: