hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10254) Optionally return null when attempting to Increment KeyValue that doesn't exist
Date Sun, 29 Dec 2013 18:16:52 GMT

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

stack commented on HBASE-10254:
-------------------------------

Sounds good.  Should not be an optional return.  Rather define null return as the result when
the increment row does not exist.

> Optionally return null when attempting to Increment KeyValue that doesn't exist
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-10254
>                 URL: https://issues.apache.org/jira/browse/HBASE-10254
>             Project: HBase
>          Issue Type: Bug
>            Reporter: James Taylor
>
> Instead of creating a new KeyValue starting from 0 when an Increment is done on a row
that doesn't exist, we should optionally return null. A Get is already being done, so it's
easy to detect this case. This can be done in a backward compatible manner.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message