hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1304) New client server implementation of how gets and puts are handled.
Date Mon, 18 May 2009 18:25:45 GMT

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

Jonathan Gray commented on HBASE-1304:

I think everyone is in agreement about the future.  Any stamp given on anything (put or delete)
that is > now, becomes now.

As far as a Delete at LATEST, yes right now it needs to be an exact match.  So, a Delete at
LATEST will likely not do anything.  Delete is for a single version.  DeleteColumn is for
all versions <= a specified stamp.  So if you want to delete the latest version of something,
you don't need to know it's stamp as long as you don't mind clearing all versions before it.
 Any time you want to delete _only_ a single version, you must know and specify the exact
stamp.  I think that is fair and understandable, to do otherwise I fear will sacrifice some
of the good properties.

Perhaps we can figure a way to do a single-version delete of the latest version of a column
without affecting older ones.  But it seems you'll have to either actually perform some kind
of Get during the delete to figure the stamp, which there is not currently any of outside
of touching Memcache, or all of our DeleteTracker'ing will need to change how it handles Deletes.

Thoughts from others?

> New client server implementation of how gets and puts are handled. 
> -------------------------------------------------------------------
>                 Key: HBASE-1304
>                 URL: https://issues.apache.org/jira/browse/HBASE-1304
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Erik Holstad
>            Assignee: Jonathan Gray
>            Priority: Blocker
>             Fix For: 0.20.0
>         Attachments: HBASE-1304-ryan.patch, hbase-1304-v1.patch, HBASE-1304-v2.patch,
HBASE-1304-v3.patch, HBASE-1304-v4.patch, HBASE-1304-v5.patch, HBASE-1304-v6.patch, HBASE-1304-v7.patch
> Creating an issue where the implementation of the new client and server will go. Leaving
HBASE-1249 as a discussion forum and will put code and patches here.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message