hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6712) Implement checkAndIncrement
Date Mon, 29 Apr 2013 03:26:16 GMT

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

Lars Hofhansl commented on HBASE-6712:
--------------------------------------

One aspect we need to be careful about is that checkAndPut and friend are idempotent. Increment
is not. Then what about checkAndIncrement, would that be treated like an Increment, or like
a checkAndPut?
                
> Implement checkAndIncrement
> ---------------------------
>
>                 Key: HBASE-6712
>                 URL: https://issues.apache.org/jira/browse/HBASE-6712
>             Project: HBase
>          Issue Type: New Feature
>          Components: Client
>    Affects Versions: 0.92.1
>            Reporter: Stefan Baritchii
>            Assignee: Ted Yu
>
> increment should throw an exception if a row does not exist. instead it creates the row.
checkAndIncrement may be also a solution to it but needs development.

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

Mime
View raw message