[ https://issues.apache.org/jira/browse/HIVE-11130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616802#comment-14616802 ]
Aihua Xu commented on HIVE-11130: --------------------------------- Do you think we should move that logic to HiveTxnManagerImpl? > Refactoring the code so that HiveTxnManager interface will support > lock/unlock table/database object > ---------------------------------------------------------------------------------------------------- > > Key: HIVE-11130 > URL: https://issues.apache.org/jira/browse/HIVE-11130 > Project: Hive > Issue Type: Sub-task > Components: Locking > Affects Versions: 2.0.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-11130.patch > > > This is just a refactoring step which keeps the current logic, but it exposes > the explicit lock/unlock table and database in HiveTxnManager which should > be implemented differently by the subclasses ( currently it's not. e.g., for > ZooKeeper implementation, we should lock table and database when we try to > lock the table). -- This message was sent by Atlassian JIRA (v6.3.4#6332)