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/02/10 20:51:11 UTC

[jira] [Resolved] (PHOENIX-1231) Test CommitException and partial saves

     [ https://issues.apache.org/jira/browse/PHOENIX-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-1231.
-----------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 4.0.0)

This will be done by [~elilevine] as part of PHOENIX-900.

> Test CommitException and partial saves
> --------------------------------------
>
>                 Key: PHOENIX-1231
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1231
>             Project: Phoenix
>          Issue Type: Test
>    Affects Versions: 4.0.0
>            Reporter: Zen Mehra
>
> In MutationState#commit, a failure to write to HBase is handled by executing some retry logic and finally throwing a CommitException. The CommitException contains a wealth of information like both the committed and uncommitted state, which allows the client to make a decision on how best to handle a failure.
> The goal of this JIRA is to write a test to cover this case, and make sure the CommitException contains the required information.
> This isn't a trivial test to write, since it involves adding a mock co-processor that causes an exception instead of writing to HBase, and injecting said co-processor into the client call that commits.



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