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

Kishen Das reassigned HIVE-24796:
---------------------------------

    Assignee: Kishen Das

> [HS2] Enhance DriverTxnHandler.isValidTxnListState logic to include tableId 
> comparison
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-24796
>                 URL: https://issues.apache.org/jira/browse/HIVE-24796
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>            Reporter: Kishen Das
>            Assignee: Kishen Das
>            Priority: Major
>
> In HS2, after query compilation phase, we acquire lock in DriverTxnHandler.
> isValidTxnListState and later ensure there are no conflicting transactions by 
> using driverContext.getTxnManager().getLatestTxnIdInConflict(); . This 
> doesn't work well, if there are external entities that drop and recreate the 
> table with the same name. So, we should also make sure the tableId itself is 
> not changed, after lock has been acquired. This Jira is to enhance the 
> DriverTxnHandler.isValidTxnListState logic to include tableId comparison. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to