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

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

GitHub user anew opened a pull request:

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

    [Tephra-201] Store checkpoints in in-progress list 

    See https://issues.apache.org/jira/browse/TEPHRA-201 for the design 
proposal implemented by this PR. 
    


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

    $ git pull https://github.com/anew/incubator-tephra tephra-201

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

    https://github.com/apache/incubator-tephra/pull/23.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 #23
    
----
commit 0cce8c58a76e530c583d6cdc8b075edf2a4fb2b2
Author: anew <a...@apache.org>
Date:   2016-12-07T22:19:19Z

    [TEPHRA-201] Part 1: add test cases for checkpoints

commit 4611f3e93de626890e7ce02763e311164f5e6dfb
Author: anew <a...@apache.org>
Date:   2016-12-08T01:44:08Z

    [TEPHRA-201] Part 2: store checkpoints in in-progress list and related 
changes

----


> In-progress transactions may become visible when transactions are checkpointed
> ------------------------------------------------------------------------------
>
>                 Key: TEPHRA-201
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-201
>             Project: Tephra
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.0-incubating, 0.9.0-incubating
>            Reporter: Poorna Chandra
>            Assignee: Poorna Chandra
>            Priority: Blocker
>             Fix For: 0.10.0-incubating
>
>
> When a transaction is created, the current in-progress list is attached to 
> the transaction object. This list is used to filter out in-progress 
> transactions during read.
> The transaction object expects this list to be sorted numerically since it 
> does a binary search for filtering out the in-progress transactions. 
> When checkpointing feature was added in TEPHRA-96, checkpoints were also 
> added as part of the in-progress list since data writes from checkpoints also 
> have to be filtered out during reads. However adding checkpoints broke the 
> sort order. This leads to binary search not working as expected to filter out 
> in-progress transactions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to