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

Wei Zheng updated HIVE-16565:
-----------------------------
    Description: 
This is a follow-up of HIVE-16534.

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

  was:
This is a follow-up of HIVE-16534.

In ValidReadTxnList.writeToString, we write out 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.


> 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 open and aborted transactions 
> as two sorted lists. We can take advantage of that and merge sort them 
> together when reading them back in readFromString. Note that the aborted bits 
> should also be marked properly during the merge sort.



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

Reply via email to