incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Read during digest mismatch
Date Wed, 14 Nov 2012 02:44:39 GMT
I think the code base does not benefit from having too many different read
code paths. Logically what your suggesting is reasonable, but you have to
consider the case of one being slow to respond.

Then what?

On Tuesday, November 13, 2012, Manu Zhang <owenzhang1990@gmail.com> wrote:
> If consistency is two, don't we just send data request to one and digest
request to another?
>
> On Mon, Nov 12, 2012 at 2:49 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> Correct.  Which is one reason there is a separate setting for
>> cross-datacenter read repair, by the way.
>>
>> On Thu, Nov 8, 2012 at 4:43 PM, sankalp kohli <kohlisankalp@gmail.com>
wrote:
>> > Hi,
>> >     Lets say I am reading with consistency TWO and my replication is
3. The
>> > read is eligible for global read repair. It will send a request to get
data
>> > from one node and a digest request to two.
>> > If there is a digest mismatch, what I am reading from the code looks
like it
>> > will get the data from all three nodes and do a resolve of the data
before
>> > returning to the client.
>> >
>> > Is it correct or I am readind the code wrong?
>> >
>> > Also if this is correct, look like if the third node is in other DC,
the
>> > read will slow down even when the consistency was TWO?
>> >
>> > Thanks,
>> > Sankalp
>> >
>> >
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>
>

Mime
View raw message