incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: digest query: why relying on value?
Date Mon, 02 Apr 2012 14:29:01 GMT
A digest query is about making 1 digests for many columns, not 1
digest per column. If it were 1 digest per column, then yes, the
timestamp would be an option.

--
Sylvain

On Mon, Apr 2, 2012 at 4:25 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
> Look at Column.reconcile.
>
> On Mon, Apr 2, 2012 at 9:17 AM, Nicolas Romanetti <romanetti@gmail.com> wrote:
>>  Hello,
>>
>> Why does the digest read response include a hash of the column value? Isn't
>> the timestamp sufficient?
>>
>> May be an answer:
>> Is the value hash computed to cope with (I presume rare) race condition
>> scenario where 2 nodes would end up with same col. name and same col.
>> timestamp but with a different col. value ?
>> But then I wonder how to decide which value wins!
>>
>> Sincerely,
>>
>> Nicolas.
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com

Mime
View raw message