Hi,
I do reads in my own Python code, how cqlsh can affect it? 

    On Wednesday, May 22, 2019 12:02 PM, Chakravarthi Manepalli 
<manepallichakravar...@gmail.com> wrote:
 

 Hi Vlad,
Maybe the consistency level has been set manually in CQLSH. Did you try 
checking your consistency level and set it back to normal? (Just a thought, Not 
sure!!)
On Wed, May 22, 2019 at 2:00 PM Vlad <qa23d-...@yahoo.com.invalid> wrote:

Hi,
we have three nodes cluster with KS defined as 

CREATE KEYSPACE someks WITH REPLICATION = { 'class' : 
'org.apache.cassandra.locator.NetworkTopologyStrategy', 'some-dc': '3' } AND 
DURABLE_WRITES = true;

next I read with Pyhton (cassandra-driver 3.11) from Cassandra 3.11.3 and get 
error 

Error from server: code=1200 [Coordinator node timed out waiting for replica 
nodes' responses] message="Operation timed out - received only 2 responses." 
info={'received_responses': 2, 'required_responses': 3, 'consistency': 'ALL'}
nor session.default_consistency_level = ConsistencyLevel.QUORUM neither 
query = SimpleStatement("SELECT **********", 
consistency_level=ConsistencyLevel.QUORUM)
rows = session.execute(query)

helps. What it could be?

Thanks in advance.




   

Reply via email to