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

Varun Sharma commented on HBASE-4583:
-------------------------------------

Hi folks,

Firstly, awesome to have this patch. Thanks, lars and everyone.

We have been trying to build a consistent application on top of hbase which 
also works well with counters - consider a user and all his liked "pins" or 
"tweets". Row is User Id and liked pins are column qualifiers. Also, there is a 
column maintaining the "count". For maintaining consistent data, it would be 
nice if we could do the following - write a like and increment the count and 
delete a like and decrement the count.

I am wondering if we can now couple "put(s)" and "increment(s)" or "delete(s)" 
and "decrement(s)" from the client side, as part of a single row mutation and 
ensure a consistent table view for the user in the above application (it will 
be of course be a separate JIRA, though).

Thanks
Varun
                
> Integrate RWCC with Append and Increment operations
> ---------------------------------------------------
>
>                 Key: HBASE-4583
>                 URL: https://issues.apache.org/jira/browse/HBASE-4583
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.96.0
>
>         Attachments: 4583-trunk-less-radical.txt, 
> 4583-trunk-less-radical-v2.txt, 4583-trunk-less-radical-v3.txt, 
> 4583-trunk-less-radical-v4.txt, 4583-trunk-less-radical-v5.txt, 
> 4583-trunk-less-radical-v6.txt, 4583-trunk-radical.txt, 
> 4583-trunk-radical_v2.txt, 4583-trunk-v3.txt, 4583.txt, 4583-v2.txt, 
> 4583-v3.txt, 4583-v4.txt
>
>
> Currently Increment and Append operations do not work with RWCC and hence a 
> client could see the results of multiple such operation mixed in the same 
> Get/Scan.
> The semantics might be a bit more interesting here as upsert adds and removes 
> to and from the memstore.

--
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

Reply via email to