You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/03/08 04:02:14 UTC

[jira] [Commented] (HBASE-8036) ProtobufUtil.multi behavior is inconsistent in case of errors

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

Sergey Shelukhin commented on HBASE-8036:
-----------------------------------------

[~devaraj] woops

                
> ProtobufUtil.multi behavior is inconsistent in case of errors
> -------------------------------------------------------------
>
>                 Key: HBASE-8036
>                 URL: https://issues.apache.org/jira/browse/HBASE-8036
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.0
>            Reporter: Sergey Shelukhin
>             Fix For: 0.95.0
>
>
> ProtobufUtil splits operations by regions and performs multiple client.multi calls. In case if there are certain errors inside RS, HRegionServer adds the corresponding exceptions to MultiResponse, and PU continues the batch and returns partial failure. 
> In case of other errors (for example, region not served exception), the entire batch stops executing, and previous successes and partial results are disregarded.
> ProtobufUtil should probably catch ServiceException separately for multi-region batches, and make it a partial result for all actions for this region (and also continue the batch), to make the behavior consistent.
> Alternatively server should do that for region-specific errors (add exception to results for each action), if we want to avoid continuing the batch in case of some server-wide errors/connection problems/etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira