Hi
I've got two data centres in a NetworkTopologyStrategy POC with 1 replica in each for system_auth and
other keyspaces.
I've a python app local to each DC that I'm connecting to the local replica in the manner below.
cluster = Cluster( [ip_addr], auth_provider=PlainTextAuthProvider( username='cassandra', \
password='cassandra'), \
load_balancing_policy = DCAwareRoundRobinPolicy(local_dc='dc1' ), \
default_retry_policy=DowngradingConsistencyRetryPolicy(), \
protocol_version = 3)
cdb = cluster.connect()
Once the cluster is connected, ordinary read and write operations survive partitioning of the two DCs, however if
the DCs cannot see each other at the initial connection, it throws an exception - but under the same
circumstances cqlsh manages to startup and connect just fine.
It appears that the python driver is using a consistency requirement of QUORUM - is there any way of persuading it
to downgrade that requirement? (I know a replica set of 2 is a degenerate condition, but I'd really like to cope with
it).
Thanks
Alan