You will get an error back . Also use RF:3 for the high availability in one DC.
On Mon, May 6, 2013 at 7:05 AM, Kanwar Sangha <kan...@mavenir.com> wrote: > Anyone ?**** > > ** ** > > *From:* Kanwar Sangha [mailto:kan...@mavenir.com] > *Sent:* 03 May 2013 08:59 > *To:* user@cassandra.apache.org > *Subject:* local_quorum**** > > ** ** > > Hi – I have 2 data centres (DC1 and DC2) and I have local_quorum set as > the CL for reads. Say there is a RF factor = 2. (so 2 copies each in DC). > **** > > ** ** > > If both nodes which own the data in DC1 are down and I do a read with CL > as “local_quorum” , will I get an error back to the application ? or will > Cassandra do automatic routing to the other DC ?**** > > ** ** > > Thanks,**** > > Kanwar**** > > ** ** >