hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15498) Add conditions in MultiRowMutationService
Date Fri, 25 Mar 2016 18:25:25 GMT

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

Ted Yu commented on HBASE-15498:
--------------------------------

Mind putting the patch on review board ?

cc [~jesse_yates] who had experience working with Conditions.

> Add conditions in MultiRowMutationService
> -----------------------------------------
>
>                 Key: HBASE-15498
>                 URL: https://issues.apache.org/jira/browse/HBASE-15498
>             Project: HBase
>          Issue Type: New Feature
>          Components: Coprocessors
>            Reporter: He Liangliang
>            Assignee: He Liangliang
>         Attachments: HBASE-15498.diff
>
>
> Many applications especially online services need conditional batch operations to achieve
atomicity. We can add conditions in MultiRowMutationService like:
> {code:java}
> message MutateRowsRequest {
>   repeated MutationProto mutation_request = 1;
>   optional uint64 nonce_group = 2;
>   optional uint64 nonce = 3;
>   repeated Condition condition = 4;
> }
> message MutateRowsResponse {
>   repeated int32 unmet_conditions = 1;
> }
> service MultiRowMutationService {
>   rpc MutateRows(MutateRowsRequest)
>       returns(MutateRowsResponse);
> }
> {code}



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

Mime
View raw message