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

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Transactions
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated: