[
https://issues.apache.org/jira/browse/HIVE-17821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eugene Koifman updated HIVE-17821:
----------------------------------
Summary: TxnHandler.enqueueLockWithRetry() should not write TXN_COMPONENTS
if partName=null and table is partitioned (was:
TxnHandler.enqueueLockWithRetry() should now write TXN_COMPONENTS if
partName=null and table is partitioned)
> TxnHandler.enqueueLockWithRetry() should not 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: Minor
>
> 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)