hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-17821) TxnHandler.enqueueLockWithRetry() should not write TXN_COMPONENTS if partName=null and table is partitioned
Date Wed, 28 Jul 2021 14:14:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eugene Koifman reassigned HIVE-17821:
-------------------------------------

    Assignee:     (was: Eugene Koifman)

> 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
>            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
(v8.3.4#803005)

Mime
View raw message