phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zen Mehra (JIRA)" <>
Subject [jira] [Created] (PHOENIX-1231) Test CommitException and partial saves
Date Tue, 02 Sep 2014 23:50:52 GMT
Zen Mehra created PHOENIX-1231:

             Summary: Test CommitException and partial saves
                 Key: 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

View raw message