Eugene Koifman created HIVE-12439:
-------------------------------------
Summary: CompactionTxnHandler.markCleaned() add safety guards
Key: HIVE-12439
URL: https://issues.apache.org/jira/browse/HIVE-12439
Project: Hive
Issue Type: Bug
Components: Metastore, Transactions
Affects Versions: 1.0.0
Reporter: Eugene Koifman
Assignee: Eugene Koifman
# add distinct to s = "select txn_id from TXNS, TXN_COMPONENTS where txn_id =
tc_txnid and txn_state = '" +
TXN_ABORTED + "' and tc_database = '" + info.dbname + "' and
tc_table = '" +
# add a safeguard to make sure IN clause is not too large; break up by txn id
to delete from TXN_COMPONENTS where tc_txnid in ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)