You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/09/22 04:11:04 UTC
[jira] [Created] (HIVE-11916) TxnHandler.getOpenTxnsInfo() and
getOpenTxns() may produce inconsistent result
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)