cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: log line question
Date Fri, 21 Oct 2011 12:03:42 GMT
I don't think there is a debug message showing this, but you can easily add one,
just add a log that prints the int and the int deserialized in
ColumnFamilySerializer.java
deserializeFromSSTableNoColumns() method. The int returned is the
local deletion time.
If it's not negative, it basically mean that the row it's
deserializing is a row tombstone.

--
Sylvain

On Fri, Oct 21, 2011 at 1:33 PM, Rene Kochen
<Rene.Kochen@emea.schange.com> wrote:
> Thank you.
>
> Is it also possible to see whether a row is deleted using the Thrift remove method. I.e.
how can I see in the log whether or not there is a row tombstone when retrieving the row?
>
> (I am investigating an issue where sometimes a deleted row resurrects).
>
> Rene
>
> -----Original Message-----
> From: Sylvain Lebresne [mailto:sylvain@datastax.com]
> Sent: vrijdag 21 oktober 2011 13:16
> To: user@cassandra.apache.org
> Subject: Re: log line question
>
> On Fri, Oct 21, 2011 at 12:48 PM, Rene Kochen
> <Rene.Kochen@emea.schange.com> wrote:
>> Given the following log line:
>>
>>
>>
>> DEBUG [ReadStage:20] 11:39:07,028 collecting 0 of 2147483647:
>> SuperColumn(2150726f70657274696573 [64617461:false:4@1319189945952058,])
>>
>>
>>
>> What does "false:4" in the column mean?
>
> false means the column is live (not a tombstone) and 4 is the length
> of the value (the value is not displayed in that log output).
>
> --
> Sylvain
>
>>
>>
>>
>> Thanx!
>>
>>
>>
>> Rene
>

Mime
View raw message