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)

Reply via email to