On 01/29/2014 08:07 PM, Donald Smith wrote:
My question: will the read process try to read first locally from the
datacenter DC2 I specified in its connection string? I presume so. (I
doubt that it uses the client's IP address to decide which datacenter is
closer. And I am unaware of anot
n Sands [mailto:duncan.sa...@gmail.com]
Sent: Thursday, January 30, 2014 1:19 AM
To: user@cassandra.apache.org
Subject: Re: Question about local reads with multiple data centers
Hi Donald, which driver are you using? With the datastax python driver you
need to use the DCAwareRoundRobinPolicy f
Hi Donald, which driver are you using? With the datastax python driver you need
to use the DCAwareRoundRobinPolicy for the load balancing policy if you want the
driver to distinguish between your data centres, otherwise by default it round
robins robins requests amongst all nodes regardless of