You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/01/17 07:32:35 UTC

[jira] [Commented] (PHOENIX-1126) Make local index updates transactional with the data updates

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

James Taylor commented on PHOENIX-1126:
---------------------------------------

This would be good to revive, [~rajeshbabu], as in the Phoenix/HBase powwow, [~lhofhansl] made a good point - doing this will provide row level transactionality for indexes at a low cost. Plus, we have local indexes for immutable indexes which may be an interesting option for us at Salesforce with our initial use cases. Would it be feasible to take a similar approach for local index maintenance in Phoenix as described above?

> Make local index updates transactional with the data updates
> ------------------------------------------------------------
>
>                 Key: PHOENIX-1126
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1126
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: rajeshbabu
>
> Given that local index updates happen on the same region server as the data updates, we should be able to make them transaction: either both the data and index updates succeed, or neither of them do. I seem to remember [~lhofhansl] mentioned that the all or none behavior of HRegion.mutateRowsWithLocks() could be emulated across tables if you knew that the mutations were all local.



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