RE: [EXTERNAL] Re: Python driver concistency problem

2019-05-28 Thread Durity, Sean R
setup? Any UDTs or triggers involved in the query? To me, your error seems more like a query being executed “for you” instead of your actual query. Sean Durity From: Vlad Sent: Wednesday, May 22, 2019 6:53 AM To: user@cassandra.apache.org Subject: [EXTERNAL] Re: Python driver concistency problem

Re: Python driver concistency problem

2019-05-22 Thread Vlad
That's the issue - I do not use consistency ALL. I set QUORUM or ONE but it still performs with ALL. On Wednesday, May 22, 2019 12:42 PM, shalom sagges wrote: In a lot of cases, the issue is with the data model. Can you describe the table? Can you provide the query you use to

Re: Python driver concistency problem

2019-05-22 Thread shalom sagges
In a lot of cases, the issue is with the data model. Can you describe the table? Can you provide the query you use to retrieve the data? What's the load on your cluster? Are there lots of tombstones? You can set the consistency level to ONE, just to check if you get responses. Although normally I

Re: Python driver concistency problem

2019-05-22 Thread Vlad
Hi, I do reads in my own Python code, how cqlsh can affect it? On Wednesday, May 22, 2019 12:02 PM, Chakravarthi Manepalli 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

Re: Python driver concistency problem

2019-05-22 Thread Chakravarthi Manepalli
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 wrote: > Hi, > > we have three nodes cluster with KS defined as > > *CREATE KEYSPACE

Python driver concistency problem

2019-05-22 Thread Vlad
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