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 <jbel...@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 <kohlisank...@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
>

Reply via email to