Eugene Koifman created HIVE-11916:
-------------------------------------
Summary: TxnHandler.getOpenTxnsInfo() and getOpenTxns() may
produce inconsistent result
Key: HIVE-11916
URL: https://issues.apache.org/jira/browse/HIVE-11916
Project: Hive
Issue Type: Bug
Components: Transactions
Affects Versions: 1.0.1
Reporter: Eugene Koifman
Assignee: Eugene Koifman
both run at READ_COMMITTED isolation level and each runs 2 queries.
Thus it's possible for a new txn to start/commit after hight water mark is
recored by these methods. So the returned list may have txns above the HWM.
This can be fixed by adding "WHERE TXN_ID < hwm" clause to 2nd query in each
case
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)