[ https://issues.apache.org/jira/browse/HIVE-12594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802577#comment-15802577 ]
Eugene Koifman commented on HIVE-12594: --------------------------------------- committed to master https://github.com/apache/hive/commit/c3a9fa170377bf2d80dc6e6efa46187c6c5236b2 thanks Wei for the review > X lock on partition should not conflict with S lock on DB > --------------------------------------------------------- > > Key: HIVE-12594 > URL: https://issues.apache.org/jira/browse/HIVE-12594 > Project: Hive > Issue Type: Improvement > Components: Transactions > Affects Versions: 1.0.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Fix For: 2.2.0 > > Attachments: HIVE-12594.01.patch > > > S lock on DB is acquired when creating a new table in that DB to make sure > the DB is not dropped at the same time > This should not conflict with operations such as rebuild index which takes an > Exclusive lock on a partition. See also HIVE-10242 -- This message was sent by Atlassian JIRA (v6.3.4#6332)