deniskuzZ commented on a change in pull request #1533:
URL: https://github.com/apache/hive/pull/1533#discussion_r497293133



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -3501,6 +3541,10 @@ public void addDynamicPartitions(AddDynamicPartitions 
rqst)
             pstmt.executeBatch();
           }
         }
+        try (PreparedStatement pstmt = 
dbConn.prepareStatement(TXN_COMPONENTS_DP_DELETE_QUERY)) {

Review comment:
       It's actually related. Operation that involve dynamic partitioning 
doesn't generate TXN_COMPONENTS at the locking stage, making it impossible to 
check for write conflict.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to