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

ASF GitHub Bot commented on TEPHRA-235:
---------------------------------------

GitHub user anwar6953 opened a pull request:

    https://github.com/apache/incubator-tephra/pull/44

    TEPHRA-235 Ensure that TransactionSnapshot always have a sorted invalid 
transaction list

    [TEPHRA-235](https://issues.apache.org/jira/browse/TEPHRA-235) Ensure that 
TransactionSnapshot always have a sorted invalid transaction list.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anwar6953/incubator-tephra 
bugfix_release/TEPHRA-235

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-tephra/pull/44.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #44
    
----
commit 9d482be0aaf58b296931c440b393e59976c38eab
Author: Ali Anwar <[email protected]>
Date:   2017-06-21T01:15:56Z

    TEPHRA-235 Ensure that TransactionSnapshot always have a sorted invalid 
transaction list.

----


> Flushes and compactions can remove committed data
> -------------------------------------------------
>
>                 Key: TEPHRA-235
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-235
>             Project: Tephra
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.11.0-incubating, 0.12.0-incubating
>            Reporter: Poorna Chandra
>            Assignee: Poorna Chandra
>            Priority: Blocker
>             Fix For: 0.13.0-incubating
>
>
> Transaction co-processor uses the transaction snapshot generated by the 
> Transaction Manager to remove deleted and invalid cells during HBase 
> compactions and flushes. The co-processor expects the invalid list in the 
> transaction snapshot to be sorted. However, the invalid list is not sorted 
> during a snapshot creation in the Transaction Manager. This leads to invalid 
> transactions becoming visible during compactions, and thus committed 
> transactions with write pointers smaller than the invalid transaction will 
> get removed.
> We missed this piece when fixing TEPHRA-223.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to