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

ASF GitHub Bot commented on OMID-73:
------------------------------------

GitHub user ohadshacham opened a pull request:

    https://github.com/apache/incubator-omid/pull/12

    [OMID-73] A checkpoint is a point in a transaction where every write …

    …occurs after the checkpoint may not be visible by the transaction.
    
    The visibility is defined by the following visibility levels:
    SNAPSHOT - returns the last written key by the transaction, in case one 
exists, otherwise, returns the key from the transaction snapshot.
    SNAPSHOT_EXCLUDE_CURRENT - returns the last written key by the transaction 
that was written before the last checkpoint, in case one exists, otherwise, 
returns the key from the transaction snapshot.
    SNAPSHOT_ALL - returns all the versions written by the transaction 
including the one in the transaction snapshot.
    This feature is needed for Phoenix both for upsert operations and for 
correct rollback of the secondary index on transaction abort.
    Explanations for this feature can be seen in [TEPHRA-96].

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

    $ git pull https://github.com/ohadshacham/incubator-omid CheckPoints-squash

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

    https://github.com/apache/incubator-omid/pull/12.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 #12
    
----
commit 1191963482559f6c151e2da0ffaacee9cd919ec3
Author: Ohad Shacham <[email protected]>
Date:   2017-07-20T13:18:18Z

    [OMID-73] A checkpoint is a point in a transaction where every write occurs 
after the checkpoint may not be visible by the transaction.
    The visibility is defined by the following visibility levels:
    SNAPSHOT - returns the last written key by the transaction, in case one 
exists, otherwise, returns the key from the transaction snapshot.
    SNAPSHOT_EXCLUDE_CURRENT - returns the last written key by the transaction 
that was written before the last checkpoint, in case one exists, otherwise, 
returns the key from the transaction snapshot.
    SNAPSHOT_ALL - returns all the versions written by the transaction 
including the one in the transaction snapshot.
    This feature is needed for Phoenix both for upsert operations and for 
correct rollback of the secondary index on transaction abort.
    Explanations for this feature can be seen in [TEPHRA-96].

----


> Add Checkpoints and visibility levels
> -------------------------------------
>
>                 Key: OMID-73
>                 URL: https://issues.apache.org/jira/browse/OMID-73
>             Project: Apache Omid
>          Issue Type: New Feature
>            Reporter: Ohad Shacham
>            Assignee: Ohad Shacham
>
> A checkpoint is a point in a transaction where every write occurs after the 
> checkpoint may not be visible by the transaction. 
> The visibility is defined by the following visibility levels:
> SNAPSHOT - returns the last written key by the transaction, in case one 
> exists, otherwise, returns the key from the transaction snapshot.
> SNAPSHOT_EXCLUDE_CURRENT - returns the last written key by the transaction 
> that was written before the last checkpoint, in case one exists, otherwise, 
> returns the key from the transaction snapshot.
> SNAPSHOT_ALL - returns all the versions written by the transaction including 
> the one in the transaction snapshot.
> This feature is needed for Phoenix both for upsert operations and for correct 
> rollback of the secondary index on transaction abort.
> Explanations for this feature can be seen in [TEPHRA-96]. 



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

Reply via email to