You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/07/28 06:35:38 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=14075889#comment-14075889 ] 

Anoop Sam John commented on PHOENIX-1126:
-----------------------------------------

In HIndex we had done the transaction way of update with some new cp hooks etc. Even the WAL write was also single. I don't think all those are added to Phoenix.  Correct Rajesh?

> 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.2#6252)