[ 
https://issues.apache.org/jira/browse/HIVE-26293?focusedWorklogId=779802&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-779802
 ]

ASF GitHub Bot logged work on HIVE-26293:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/22 08:21
            Start Date: 09/Jun/22 08:21
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on code in PR #3103:
URL: https://github.com/apache/hive/pull/3103#discussion_r893213769


##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/misc/msck/MsckAnalyzer.java:
##########
@@ -87,7 +87,8 @@ public void analyzeInternal(ASTNode root) throws 
SemanticException {
     }
 
     if (repair && AcidUtils.isTransactionalTable(table)) {
-      outputs.add(new WriteEntity(table, WriteType.DDL_EXCLUSIVE));
+      outputs.add(new WriteEntity(table, 
AcidUtils.isLocklessReadsEnabled(table, conf) ? 

Review Comment:
   probably we could try to make this translation in 
AcidUtils.makeLockComponents, however, there might be many hidden stones, 
better to try it in diff PR





Issue Time Tracking
-------------------

    Worklog Id:     (was: 779802)
    Time Spent: 50m  (was: 40m)

> Migrate remaining exclusive DDL operations to EXCL_WRITE lock & bug fixes
> -------------------------------------------------------------------------
>
>                 Key: HIVE-26293
>                 URL: https://issues.apache.org/jira/browse/HIVE-26293
>             Project: Hive
>          Issue Type: Task
>            Reporter: Denys Kuzmenko
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to