hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11916) TxnHandler.getOpenTxnsInfo() and getOpenTxns() may produce inconsistent result
Date Sat, 26 Sep 2015 02:14:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eugene Koifman updated HIVE-11916:
----------------------------------
    Attachment: HIVE-11916.patch

> 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
>         Attachments: HIVE-11916.patch
>
>
> 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)

Mime
View raw message