Zen Mehra created PHOENIX-1231:
----------------------------------

             Summary: 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
             Fix For: 4.0.0


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)

Reply via email to