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



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java
##########
@@ -93,6 +93,11 @@ public CompactionTxnHandler() {
       try {
         dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED);
         stmt = dbConn.createStatement();
+        // De-duplicate
+        stmt.execute("DELETE FROM \"COMPLETED_TXN_COMPONENTS\" WHERE 
CTC_WRITEID\" NOT IN ("+

Review comment:
       moved cleanup to the AcidHouseKeeperService




-- 
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.

To unsubscribe, e-mail: [email protected]

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