incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu Zhang <owenzhang1...@gmail.com>
Subject Re: Read during digest mismatch
Date Tue, 13 Nov 2012 14:01:29 GMT
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