You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Angus He <an...@gmail.com> on 2010/07/15 12:43:11 UTC
row lost after add-delete-add operation
Suppose we have a row : row1, cf1:q1, value1, timestamp1.
After the add-delete-add operation sequence on the same row, the row lost.
It seems that it was KeyValueSkipListSet in class MemStore ignored the
last add operation.
I would like to know what is the purpose of KeyValueSkipListSet,
is it possible to replace KeyValueSkipListSet with a multi-value set
implementation?
--
Regards
Angus
Re: row lost after add-delete-add operation
Posted by Angus He <an...@gmail.com>.
Thanks for the info, JG.
On Thu, Jul 15, 2010 at 11:24 PM, Jonathan Gray <jg...@facebook.com> wrote:
> This is not a problem with the KeyValueSkipListSet but rather it is the delete tombstone continuing to override any Puts with a timestamp <= to the deleted stamp.
>
> Check out this blog post for details on this:
>
> http://outerthought.org/blog/blog/417-OTC.html
>
> (man this thing is coming in handy, great work bruno)
>
> JG
>
>> -----Original Message-----
>> From: Angus He [mailto:angushe@gmail.com]
>> Sent: Thursday, July 15, 2010 3:43 AM
>> To: user@hbase.apache.org
>> Subject: row lost after add-delete-add operation
>>
>> Suppose we have a row : row1, cf1:q1, value1, timestamp1.
>>
>> After the add-delete-add operation sequence on the same row, the row
>> lost.
>>
>> It seems that it was KeyValueSkipListSet in class MemStore ignored the
>> last add operation.
>> I would like to know what is the purpose of KeyValueSkipListSet,
>> is it possible to replace KeyValueSkipListSet with a multi-value set
>> implementation?
>>
>>
>>
>> --
>> Regards
>> Angus
>
--
Regards
Angus
RE: row lost after add-delete-add operation
Posted by Jonathan Gray <jg...@facebook.com>.
This is not a problem with the KeyValueSkipListSet but rather it is the delete tombstone continuing to override any Puts with a timestamp <= to the deleted stamp.
Check out this blog post for details on this:
http://outerthought.org/blog/blog/417-OTC.html
(man this thing is coming in handy, great work bruno)
JG
> -----Original Message-----
> From: Angus He [mailto:angushe@gmail.com]
> Sent: Thursday, July 15, 2010 3:43 AM
> To: user@hbase.apache.org
> Subject: row lost after add-delete-add operation
>
> Suppose we have a row : row1, cf1:q1, value1, timestamp1.
>
> After the add-delete-add operation sequence on the same row, the row
> lost.
>
> It seems that it was KeyValueSkipListSet in class MemStore ignored the
> last add operation.
> I would like to know what is the purpose of KeyValueSkipListSet,
> is it possible to replace KeyValueSkipListSet with a multi-value set
> implementation?
>
>
>
> --
> Regards
> Angus