hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16534) Add capability to tell aborted transactions apart from open transactions in ValidTxnList
Date Wed, 26 Apr 2017 21:31:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985600#comment-15985600
] 

Wei Zheng commented on HIVE-16534:
----------------------------------

OK, I agree the override for isTxnRangeAborted is not necessary. I also adopted the approach
you suggested which is to use nextSetBit to check if an aborted transaction falls into the
range between min and max.

> Add capability to tell aborted transactions apart from open transactions in ValidTxnList
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-16534
>                 URL: https://issues.apache.org/jira/browse/HIVE-16534
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>         Attachments: HIVE-16534.1.patch
>
>
> Currently in ValidReadTxnList, open transactions and aborted transactions are stored
together in one array. That makes it impossible to extract just aborted transactions or open
transactions.
> For ValidCompactorTxnList this is fine, since we only store aborted transactions but
no open transactions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message