You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Wei Zheng (JIRA)" <ji...@apache.org> on 2017/05/01 21:39:04 UTC

[jira] [Created] (HIVE-16565) Improve how the open transactions and aborted transactions are deserialized in ValidReadTxnList.readFromString

Wei Zheng created HIVE-16565:
--------------------------------

             Summary: Improve how the open transactions and aborted transactions are deserialized in ValidReadTxnList.readFromString
                 Key: HIVE-16565
                 URL: https://issues.apache.org/jira/browse/HIVE-16565
             Project: Hive
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 3.0.0
            Reporter: Wei Zheng
            Assignee: Wei Zheng


This is a follow-up of HIVE-16534.

In ValidReadTxnList.writeToString, we write out two open and aborted transactions as two sorted lists. We can take advantage of that and perform merge sort them together when reading them back in readFromString. Note that the aborted bits should also be handled properly during the merge sort.



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