You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/10/17 15:46:00 UTC
[jira] [Commented] (HIVE-17821) TxnHandler.enqueueLockWithRetry()
should not write TXN_COMPONENTS if partName=null and table is partitioned
[ https://issues.apache.org/jira/browse/HIVE-17821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16207811#comment-16207811 ]
Eugene Koifman commented on HIVE-17821:
---------------------------------------
Thanks Lefty
> 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)