You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@omid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/01 15:16:00 UTC

[jira] [Commented] (OMID-85) Autocommit

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

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

GitHub user ohadshacham opened a pull request:

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

    [OMID-85] Writing directly to HBase using specific version marks the …

    …write as a write that was done by a specific transaction.
    
    However, due to lack of shadow cells, getting the commit timestamp of the transaction can be done only by access the commit table.
    The motivation of this feature is to add the shadow cells during the write and save the commit table access.
    This feature is required by Apache Phoenix that during index creation adds the data table's entries,
    appeared before creation, to the index. In this case, the version and the commit timestamp should be the fence id and therefore, a direct write to HBase with the addition of shadow cells is required.

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

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

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

    https://github.com/apache/incubator-omid/pull/20.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 #20
    
----
commit 462984833997c6192ae30788f5f7a3d866d41dce
Author: Ohad Shacham <oh...@...>
Date:   2018-02-01T15:13:08Z

    [OMID-85] Writing directly to HBase using specific version marks the write as a write that was done by a specific transaction.
    However, due to lack of shadow cells, getting the commit timestamp of the transaction can be done only by access the commit table.
    The motivation of this feature is to add the shadow cells during the write and save the commit table access.
    This feature is required by Apache Phoenix that during index creation adds the data table's entries,
    appeared before creation, to the index. In this case, the version and the commit timestamp should be the fence id and therefore, a direct write to HBase with the addition of shadow cells is required.

----


> Autocommit
> ----------
>
>                 Key: OMID-85
>                 URL: https://issues.apache.org/jira/browse/OMID-85
>             Project: Apache Omid
>          Issue Type: Sub-task
>            Reporter: Ohad Shacham
>            Assignee: Ohad Shacham
>            Priority: Major
>
> Writing directly to HBase using specific version marks the write as a write that was done by a specific transaction. However, due to lack of shadow cells, getting the commit timestamp of the transaction can be done only by access the commit table. The motivation of this feature is to add the shadow cells during the write and save the commit table access.
> This feature is required by Apache Phoenix that during index creation adds the data table's entries, appeared before creation, to the index. In this case, the version and the commit timestamp should be the fence id and therefore, a direct write to HBase with the addition of shadow cells is required.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)