hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: delete using server's timestamp
Date Fri, 21 Jan 2011 21:51:47 GMT
On Fri, Jan 21, 2011 at 12:30 PM, Matt Corgan <mcorgan@hotpads.com> wrote:
> Is there a way to issue a delete using the server's current timestamp?  I
> see methods using HConstants.LATEST_TIMESTAMP which is extremely expensive
> since it triggers a Get call.

Yes.  Deleting latest version involves a Get to figure the most
recents timestamp.  And yes, in src code it says this is 'expensive'.
Seems like it does this lookup anything LATEST_TIMESTAMP is passed
whether column, columns, or family only to ensure the delete goes in
ahead of whatever is currently in the Store.

St.Ack

Mime
View raw message