You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/10/16 22:09:00 UTC

[jira] [Created] (HIVE-17821) TxnHandler.enqueueLockWithRetry() should now write TXN_COMPONENTS if partName=null and table is partitioned

Eugene Koifman created HIVE-17821:
-------------------------------------

             Summary: TxnHandler.enqueueLockWithRetry() should now write TXN_COMPONENTS if partName=null and table is partitioned
                 Key: HIVE-17821
                 URL: https://issues.apache.org/jira/browse/HIVE-17821
             Project: Hive
          Issue Type: Bug
          Components: Transactions
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman
            Priority: Critical


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)