You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/11 03:32:15 UTC

[jira] [Resolved] (HBASE-6075) Improve delete(Latest-timestamp) performance: consider adding a delete_next type

     [ https://issues.apache.org/jira/browse/HBASE-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-6075.
-----------------------------------
    Resolution: Not A Problem

> Improve delete(Latest-timestamp) performance: consider adding a delete_next type
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-6075
>                 URL: https://issues.apache.org/jira/browse/HBASE-6075
>             Project: HBase
>          Issue Type: Brainstorming
>            Reporter: Amitanand Aiyer
>            Priority: Minor
>
> Disclaimer: this will only work correctly if the application is not taking control of the timestamp. 
> We have a version of deleteVersion, which deletes the last version, if no specific timestamp is specified  (i.e. timestamp is left as Long.MAX_VALUE)
> On the server side, this translates to deleting the largest timestamped cell in the specified column. Which entails doing a get, and then a delete.
> We don't seem to use this api a whole lot, so not a very high pri task. 
> But, for systems that use the api. We might be able to make this much faster (as fast as the puts) by introducing a new delete type (say DELETE_NEXT_VERSION) that sorts right after put in the column, and just adding it as a put. The deleteTracker can be updated to keep track of this delete_next and accordingly delete the nextKV asked for.



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